Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriellsh committed Oct 2, 2023
1 parent ca56388 commit 1009228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/cors/server/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ WebAppInternals.staticFilesMiddleware = function (
const { arch, path, url } = WebApp.categorizeRequest(req);

if (
Meteor.isProduction ||
Meteor.isProduction &&
!cacheControlledRoutes.some((route) => {
return new RegExp(`^${route}`, 'gi').test(path);
})
Expand Down

0 comments on commit 1009228

Please sign in to comment.