feat: continued post qa for servers in app (#5818)

* fix: intercom in app

* feat: Logs.vue dynamic console resizing with window + padding problem

* fix: search highlight with decorator + change to be better

* fix: qa

* fix: allow paper+purpur into app csp

* fix: lint
This commit is contained in:
Calum H.
2026-04-15 21:16:05 +02:00
committed by GitHub
parent 37b0f7ff98
commit 3d5f29a7a2
15 changed files with 379 additions and 86 deletions

View File

@@ -57,7 +57,11 @@ export default defineEventHandler(async (event): Promise<IntercomTokenResponse>
})
}
const authToken = getCookie(event, 'auth-token')
const authHeader = getRequestHeader(event, 'authorization')
const bearerToken = authHeader?.toLowerCase().startsWith('bearer ')
? authHeader.slice(7).trim()
: undefined
const authToken = bearerToken || getCookie(event, 'auth-token')
if (!authToken) {
throw createError({
statusCode: 401,