corrected env vars for being dynamic
This commit is contained in:
@@ -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"
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user