api url and environment
This commit is contained in:
parent
38385d56d9
commit
3e260c0007
10 changed files with 40 additions and 11 deletions
|
@ -35,4 +35,21 @@ export default defineNuxtConfig({
|
|||
prefix: "/api",
|
||||
version: "v5",
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
strapi: {
|
||||
url: process.env.STRAPI_URL ?? "localhost:1337",
|
||||
},
|
||||
app: {
|
||||
title: process.env.APP_TITLE ?? "Feuerwehr",
|
||||
},
|
||||
public: {
|
||||
strapi: {
|
||||
url: process.env.STRAPI_URL ?? "localhost:1337",
|
||||
},
|
||||
app: {
|
||||
title: process.env.APP_TITLE ?? "Feuerwehr",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue