diff --git a/astro.config.mjs b/astro.config.mjs index 27c9723..0256134 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,7 @@ import node from '@astrojs/node'; const envMode = process.env.NODE_ENV === 'production' ? 'production' : 'development'; const envVars = loadEnv(envMode, process.cwd(), ''); const WEBMENTION_TOKEN = envVars.WEBMENTION_TOKEN || process.env.WEBMENTION_TOKEN || ''; +console.log(`[astro.config] token-len=${WEBMENTION_TOKEN.length} envVars-len=${(envVars.WEBMENTION_TOKEN||'').length} proc-len=${(process.env.WEBMENTION_TOKEN||'').length}`); // https://astro.build/config export default defineConfig({