diff --git a/packages/server/src/api/controllers/static.js b/packages/server/src/api/controllers/static.js index 3b0c378e50..f79fa0932d 100644 --- a/packages/server/src/api/controllers/static.js +++ b/packages/server/src/api/controllers/static.js @@ -153,7 +153,7 @@ exports.serveApp = async function(ctx) { // only set the appId cookie for /appId .. we COULD check for valid appIds // but would like to avoid that DB hit - const looksLikeAppId = /^[0-9a-f]{32}$/.test(appId) + const looksLikeAppId = /^app:[0-9a-f]{32}$/.test(appId) if (looksLikeAppId && !ctx.isAuthenticated) { const anonUser = { userId: "ANON",