diff --git a/nuxt.config.ts b/nuxt.config.ts index c8c403519..7830b6ebd 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -27,8 +27,8 @@ export default defineNuxtConfig({ redirectWithQuery: false, redirectNoStore: false, homeURL: '', - cfAccountId: '', - cfApiToken: '', + cfAccountId: process.env.NUXT_CF_ACCOUNT_ID || '', + cfApiToken: process.env.NUXT_CF_API_TOKEN || '', dataset: 'sink', aiModel: '@cf/qwen/qwen3-30b-a3b-fp8', aiPrompt: `You are a URL shortening assistant, please shorten the URL provided by the user into a SLUG. The SLUG information should be derived from the URL and page content (if provided). Do not make any assumptions beyond the given information. A SLUG is human-readable and should not exceed three words and can be validated using regular expressions {slugRegex} . Only the best one is returned, the format must be JSON reference {"slug": "example-slug"}`,