Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
1 deletions
-
apps/api/src/app/frontend.middleware.ts
|
@ -240,7 +240,13 @@ export class FrontendMiddleware implements NestMiddleware { |
|
|
private isFileRequest(filename: string) { |
|
|
private isFileRequest(filename: string) { |
|
|
if (filename === '/assets/LICENSE') { |
|
|
if (filename === '/assets/LICENSE') { |
|
|
return true; |
|
|
return true; |
|
|
} else if (filename === '/sitemap.xml' || filename.includes('auth/ey')) { |
|
|
} else if ( |
|
|
|
|
|
filename === '/sitemap.xml' || |
|
|
|
|
|
filename.includes('auth/ey') || |
|
|
|
|
|
filename.includes( |
|
|
|
|
|
'personal-finance-tools/open-source-alternative-to-markets.sh' |
|
|
|
|
|
) |
|
|
|
|
|
) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|