corrected env vars for being dynamic

This commit is contained in:
2026-01-20 21:07:10 +00:00
parent c020ea968c
commit be678c1cf0
5 changed files with 13 additions and 6 deletions

View File

@@ -16,7 +16,8 @@ export default defineNuxtConfig({
plugins: [ tailwindcss() ]
},
runtimeConfig: {
fastapi_url: process.env.FASTAPI_URL || "http://fastapi:8000",
download_path: process.env.DOWNLOAD_FOLDER || "/tmp/downloads"
// overridable by NUXT_variable
fastapi_url: "http://fastapi:8000",
download_path: "/tmp/downloads"
}
})