-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
54 lines (44 loc) · 1.13 KB
/
nuxt.config.ts
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: {
enabled: true,
timeline: {
enabled: true
}
},
runtimeConfig: {
lichessCodeVerifier: process.env.LICHESS_CODE_VERIFIER,
discordPublicKey: process.env.DISCORD_PUBLIC_KEY,
discordClientSecret: process.env.DISCORD_CLIENT_SECRET,
public: {
apiUrl: process.env.API_BASE_URL,
lichessCodeChallenge: process.env.LICHESS_CODE_CHALLENGE,
discordClientId: process.env.DISCORD_CLIENT_ID
}
},
app: {
head: {
link: [],
script: [{
src: 'https://kit.fontawesome.com/4ae5eef027.js',
crossorigin: 'anonymous'
}]
}
},
supabase: {
redirectOptions: {
login: '/login',
callback: '/callback',
exclude: ['/', '/api/*', '/uscf/*', '/register', '/game/*']
}
},
turnstile: {
siteKey: '0x4AAAAAAAKsKEdr-d1daiqG'
},
routeRules: {
'/settings': { redirect: '/settings/profile' }
},
eslint: {
},
modules: ['@nuxtjs/supabase', '@nuxtjs/turnstile', '@nuxtjs/eslint-module', 'vuetify-nuxt-module', 'nuxt-simple-sitemap']
})