Skip to content

Commit f2c3261

Browse files
committed
Fix login page assets over proxy domain
1 parent 37a72ce commit f2c3261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/routes/domainProxy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ router.all(/.*/, async (req, res, next) => {
6565
const isAuthenticated = await authenticated(req)
6666
if (!isAuthenticated) {
6767
// Let the assets through since they're used on the login page.
68-
if (req.path.startsWith("/static/") && req.method === "GET") {
68+
if (req.path.startsWith("/_static/") && req.method === "GET") {
6969
return next()
7070
}
7171

0 commit comments

Comments
 (0)