1
0
Fork 0
mirror of synced 2024-09-30 09:07:25 +13:00

fixes from PR

This commit is contained in:
Martin McKeaveney 2021-05-12 12:38:49 +01:00
parent 306dd298d6
commit 022f501dee
2 changed files with 4 additions and 4 deletions

View file

@ -117,7 +117,7 @@
readOnly, readOnly,
autoCloseBrackets: true, autoCloseBrackets: true,
autoCloseTags: true, autoCloseTags: true,
theme: THEMES.DARK, theme: $themeStore.theme.includes("light") ? THEMES.LIGHT : THEMES.DARK,
} }
if (!tab) if (!tab)

View file

@ -53,9 +53,9 @@ router
.use(buildAuthMiddleware(PUBLIC_ENDPOINTS)) .use(buildAuthMiddleware(PUBLIC_ENDPOINTS))
// for now no public access is allowed to worker (bar health check) // for now no public access is allowed to worker (bar health check)
.use((ctx, next) => { .use((ctx, next) => {
// if (!ctx.isAuthenticated) { if (!ctx.isAuthenticated) {
// ctx.throw(403, "Unauthorized - no public worker access") ctx.throw(403, "Unauthorized - no public worker access")
// } }
return next() return next()
}) })