Initial commit
This commit is contained in:
27
nuxt.config.ts
Normal file
27
nuxt.config.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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=()",
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user