-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
71 lines (70 loc) · 1.7 KB
/
Copy pathnuxt.config.ts
File metadata and controls
71 lines (70 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import { Preset } from "./primevue.config";
export default defineNuxtConfig({
site: {
url: process.env.BASE_URL,
name: "Slinky - URL Shortener",
description: "Shorten long URLs in one click, generate QR codes, with style!",
defaultLocale: "en",
},
sitemap: {
exclude: [
"/dashboard/**",
"/manage-links/**",
"/api/**",
],
},
robots: {
allow: ["/"],
disallow: [
"/dashboard",
"/manage-links",
"/api",
],
},
compatibilityDate: "2025-07-15",
css: [
"~/assets/scss/main.scss",
"primeicons/primeicons.css",
],
devServer: {
host: "dev.slin.ky",
port: 3000,
},
devtools: { enabled: false },
future: { compatibilityVersion: 4 },
modules: [
"@pinia/nuxt",
"@primevue/nuxt-module",
"@nuxtjs/turnstile",
"@nuxtjs/seo",
"nuxt-schema-org",
],
primevue: {
autoImport: true,
options: {
ripple: true,
theme: {
preset: Preset,
options: {
darkModeSelector: "system",
cssLayer: false,
},
},
},
},
turnstile: { siteKey: process.env.TURNSTILE_SITE_KEY },
runtimeConfig: {
TURSO_DB_URL: process.env.TURSO_DB_URL,
TURSO_AUTH_TOKEN: process.env.TURSO_AUTH_TOKEN,
JWT_SECRET: process.env.JWT_SECRET,
GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
GOOGLE_CLIENT_SECRET: process.env.GOOGLE_CLIENT_SECRET,
GOOGLE_REDIRECT_URI: process.env.GOOGLE_REDIRECT_URI,
GOOGLE_SAFE_BROWSING_API_KEY: process.env.GOOGLE_SAFE_BROWSING_API_KEY,
TURNSTILE_SECRET_KEY: process.env.TURNSTILE_SECRET_KEY,
BLOB_READ_WRITE_TOKEN: process.env.BLOB_READ_WRITE_TOKEN,
public: {
BASE_URL: process.env.BASE_URL,
},
},
})