From 8bfa8da2ece1e128446bc83adc5a97043b60b7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=85=E8=86=80?= Date: Fri, 23 Oct 2026 23:23:59 +0800 Subject: [PATCH] fix(config): expose the legal contact override Declare the public runtime key so the documented environment override reaches legal pages in deployed Nuxt builds. --- nuxt.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 373cd64..1d0caff 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -50,10 +50,12 @@ export default defineNuxtConfig({ }, devtools: { enabled: false }, runtimeConfig: { - // Overridable via NUXT_PUBLIC_DOCS_URL / NUXT_PUBLIC_REPO_URL. + // Overridable via NUXT_PUBLIC_DOCS_URL / NUXT_PUBLIC_REPO_URL / + // NUXT_PUBLIC_LEGAL_CONTACT. public: { docsUrl: "", repoUrl: "", + legalContact: "", }, }, // The config console stays a client-side SPA (same behavior as the old