fix(config): expose the legal contact override

Declare the public runtime key so the documented environment
override reaches legal pages in deployed Nuxt builds.
This commit is contained in:
翅膀 committed 2026-10-23 23:23:59 +08:00
1 parent 6968880054
commit 8bfa8da2ec
1 file changed
+3 -1
+3 -1
View File
@@ -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