33 lines
738 B
TypeScript
33 lines
738 B
TypeScript
/*
|
|
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
|
|
export default defineNuxtConfig({
|
|
experimental: { renderJsonPayloads: true },
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: enableDevtools },
|
|
app: {
|
|
head: {
|
|
titleTemplate: "%s - Owltide",
|
|
htmlAttrs: {
|
|
lang: "en",
|
|
},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
cookieSecretKeyFile: "",
|
|
vapidSubject: "",
|
|
vapidPrivateKeyFile: "",
|
|
public: {
|
|
defaultTimezone: "Europe/Oslo",
|
|
defaultLocale: "en-GB",
|
|
vapidPublicKey: "",
|
|
}
|
|
},
|
|
modules: [
|
|
"@nuxt/test-utils/module",
|
|
"@pinia/nuxt",
|
|
],
|
|
})
|