Browse Source

Exclude open-source-alternative-to-markets.sh (#2195)

pull/2197/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
4d6be0a507
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      apps/api/src/app/frontend.middleware.ts

8
apps/api/src/app/frontend.middleware.ts

@ -240,7 +240,13 @@ export class FrontendMiddleware implements NestMiddleware {
private isFileRequest(filename: string) {
if (filename === '/assets/LICENSE') {
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;
}

Loading…
Cancel
Save