responsive and config

This commit is contained in:
Julian Krauser 2024-11-06 08:59:07 +01:00
parent e74c6a5a23
commit 5f4aedff31
10 changed files with 54 additions and 41 deletions

View file

@ -3,7 +3,7 @@ export default defineNuxtConfig({
app: {
baseURL: "/",
head: {
title: process.env.APP_TITLE,
title: "Feuerwehr",
htmlAttrs: {
lang: "de",
},
@ -31,24 +31,18 @@ export default defineNuxtConfig({
modules: ["@nuxtjs/strapi", "@nuxt/image"],
strapi: {
url: process.env.STRAPI_URL,
url: process.env.PUBLIC_STRAPI_URL,
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",
url: process.env.PUBLIC_STRAPI_URL ?? "localhost:1337",
},
app: {
title: process.env.APP_TITLE ?? "Feuerwehr",
title: process.env.PUBLIC_APP_TITLE ?? "Feuerwehr",
},
},
},