28 lines
792 B
TypeScript
28 lines
792 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2025-07-15",
|
|
devtools: { enabled: false },
|
|
runtimeConfig: {
|
|
authPasscode: process.env.AUTH_PASSCODE || "",
|
|
authSecret: process.env.AUTH_SECRET || "",
|
|
authTokenTtlDays: process.env.AUTH_TOKEN_TTL_DAYS || "7",
|
|
storageDir: process.env.QUICKDROP_STORAGE_DIR || ".data/quickdrop",
|
|
},
|
|
modules: ["@unocss/nuxt"],
|
|
app: {
|
|
head: {
|
|
htmlAttrs: { lang: "en" },
|
|
link: [{ rel: "icon", href: "/favicon.ico" }],
|
|
},
|
|
},
|
|
routeRules: {
|
|
"/**": {
|
|
headers: {
|
|
"Referrer-Policy": "no-referrer",
|
|
"X-Content-Type-Options": "nosniff",
|
|
"Permissions-Policy": "camera=(), microphone=(), geolocation=()",
|
|
},
|
|
},
|
|
},
|
|
});
|