Add secure support connection to website (#5750)

* wip: icom jwts

* should fix auth token passing

* add to wrangler
This commit is contained in:
aecsocket
2026-04-04 16:47:03 +01:00
committed by GitHub
parent 3091021194
commit bb3506823d
7 changed files with 149 additions and 29 deletions

View File

@@ -207,10 +207,19 @@ export default defineNuxtConfig({
// @ts-ignore
rateLimitKey: process.env.RATE_LIMIT_IGNORE_KEY ?? globalThis.RATE_LIMIT_IGNORE_KEY,
pyroBaseUrl: process.env.PYRO_BASE_URL,
intercomIdentitySecret:
process.env.INTERCOM_IDENTITY_SECRET ||
// @ts-ignore
globalThis.INTERCOM_IDENTITY_SECRET,
public: {
apiBaseUrl: getApiUrl(),
pyroBaseUrl: process.env.PYRO_BASE_URL,
siteUrl: getDomain(),
intercomAppId:
process.env.INTERCOM_APP_ID ||
// @ts-ignore
globalThis.INTERCOM_APP_ID ||
'ykeritl9',
production: isProduction(),
buildEnv: process.env.BUILD_ENV,
preview: process.env.PREVIEW === 'true',