2025-06-30 18:58:24 +02:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
2025-03-01 16:52:23 +01:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
2025-06-12 14:01:50 +02:00
|
|
|
const enableDevtools = !process.env.DISABLE_DEV_TOOLS
|
2025-03-01 16:52:23 +01:00
|
|
|
export default defineNuxtConfig({
|
2025-06-13 22:01:42 +02:00
|
|
|
experimental: { renderJsonPayloads: true },
|
2025-03-01 17:06:41 +01:00
|
|
|
compatibilityDate: '2024-11-01',
|
2025-06-12 14:01:50 +02:00
|
|
|
devtools: { enabled: enableDevtools },
|
2025-03-05 15:36:50 +01:00
|
|
|
runtimeConfig: {
|
2025-05-20 00:43:29 +02:00
|
|
|
cookieSecretKeyFile: "",
|
2025-05-20 00:25:28 +02:00
|
|
|
vapidSubject: "",
|
2025-05-20 00:43:29 +02:00
|
|
|
vapidPrivateKeyFile: "",
|
2025-03-05 15:36:50 +01:00
|
|
|
public: {
|
2025-03-09 15:53:51 +01:00
|
|
|
defaultTimezone: "Europe/Oslo",
|
2025-06-13 21:50:22 +02:00
|
|
|
defaultLocale: "en-GB",
|
2025-03-05 15:36:50 +01:00
|
|
|
vapidPublicKey: "",
|
|
|
|
}
|
2025-05-24 17:53:33 +02:00
|
|
|
},
|
|
|
|
modules: [
|
2025-06-12 21:38:47 +02:00
|
|
|
"@nuxt/test-utils/module",
|
2025-05-24 17:53:33 +02:00
|
|
|
"@pinia/nuxt",
|
|
|
|
],
|
2025-03-01 16:52:23 +01:00
|
|
|
})
|