Skip to content

Commit 098a2eb

Browse files
committed
fix(ssr): fixed issue with ssr
1 parent 42c596e commit 098a2eb

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

angular.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@
195195
},
196196
"defaultConfiguration": "development"
197197
},
198-
"extract-i18n": {
199-
"builder": "@angular-devkit/build-angular:extract-i18n"
200-
},
201198
"test": {
202199
"builder": "@angular-devkit/build-angular:jest",
203200
"options": {

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ app.use(
2525
})
2626
);
2727

28-
app.use('/**', (req, res, next) => {
28+
app.use((req, res, next) => {
2929
const startTime = performance.now();
3030
const userAgent = req.headers['user-agent'] || '';
3131
const isSearchBot = isBot(userAgent);

0 commit comments

Comments
 (0)