Skip to content

Commit

Permalink
Fix login page assets over proxy domain
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Jul 12, 2024
1 parent 37a72ce commit f2c3261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/routes/domainProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ router.all(/.*/, async (req, res, next) => {
const isAuthenticated = await authenticated(req)
if (!isAuthenticated) {
// Let the assets through since they're used on the login page.
if (req.path.startsWith("/static/") && req.method === "GET") {
if (req.path.startsWith("/_static/") && req.method === "GET") {
return next()
}

Expand Down

0 comments on commit f2c3261

Please sign in to comment.