Skip to content

Commit 120f1c1

Browse files
Ismaestroiramos
authored andcommitted
Add nav and languages links and more things!
1 parent 9b0256f commit 120f1c1

19 files changed

+503
-355
lines changed

firebase.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"source": "**/*.@(css|js)",
1212
"destination": "/index2.html"
1313
},
14+
{
15+
"source": "**/es/**",
16+
"destination": "/es/index.html"
17+
},
1418
{
1519
"source": "**",
1620
"function": "ssr"

functions/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ app.engine('html', expressengine.ngExpressEngine({
3232
app.set('view engine', 'html');
3333
app.set('views', path.join(DIST_FOLDER, 'browser'));
3434

35-
// Example Express Rest API endpoints
36-
// app.get('/api/**', (req, res) => { });
37-
3835
// Server static files from /browser
3936
app.get('.', express.static(path.join(DIST_FOLDER, 'browser'), {
4037
maxAge: '1y'
@@ -47,7 +44,7 @@ app.get('*', (req, res) => {
4744

4845
// Start up the Node server
4946
app.listen(PORT, () => {
50-
console.log(`Node Express server listening on http://localhost:${PORT}`);
47+
console.log(`Node Express server listening on port ${PORT}`);
5148
});
5249
exports.ssr = functions.https.onRequest(app);
5350

0 commit comments

Comments
 (0)