owltide/nuxt.config.ts
Hornwitser 25793fecb8
All checks were successful
/ build (push) Successful in 1m14s
/ deploy (push) Successful in 15s
Add DISABLE_DEV_TOOLS env to disable Nuxt dev tools
The dev tools built into Nuxt take up way too much resources to run on
low end hardware.  Add config to disable it.
2025-05-31 22:14:06 +02:00

17 lines
385 B
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: !process.env.DISABLE_DEV_TOOLS },
runtimeConfig: {
cookieSecretKeyFile: "",
vapidSubject: "",
vapidPrivateKeyFile: "",
public: {
defaultTimezone: "Europe/Oslo",
vapidPublicKey: "",
}
},
modules: [
"@pinia/nuxt",
],
})