Skip to content

Commit

Permalink
tweak to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-pereira committed Aug 21, 2023
1 parent 6ad79ae commit c6cc712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default ({ app }: { app: Application }): void => {
app.use('/app/', (req, res, next) => {
// We allow the /static/ folder to bypass auth, this is primarily
// for accessing manifest.json from @bubblewrap/cli
if (req.user || req.path.includes('/static/')) {
if (req.user || req.path.includes('/manifest.json')) {
next();
} else {
res.redirect(serverUrl);
Expand Down

0 comments on commit c6cc712

Please sign in to comment.