Archived
1
0

Fix login page assets over proxy domain

This commit is contained in:
Asher 2024-07-12 15:01:30 -08:00
parent 37a72ce63b
commit f2c326147d
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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()
}