-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
58 lines (51 loc) · 1.53 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
55
56
57
58
/* eslint-disable node/prefer-global/process */
export default defineNuxtConfig({
modules: [
'@nuxt/image',
'@nuxtjs/color-mode',
'@unocss/nuxt',
'@vueuse/nuxt',
'nuxt-auth-utils',
],
devtools: {
enabled: false,
},
app: {
head: {
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
htmlAttrs: {
lang: 'en',
},
meta: [
{ name: 'keywords', content: 'Ensik Archive is a captivating online gallery platform dedicated to preserving and showcasing a rich collection of historical, and documents.' },
{ name: 'author', content: 'OSE' },
{ name: 'apple-mobile-web-app-title', content: 'Ensik Arch' },
],
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon/favicon-96x96.png', sizes: '96x96' },
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon/favicon.svg' },
{ rel: 'shortcut icon', href: '/favicon/favicon.ico' },
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/favicon/apple-touch-icon.png' },
{ rel: 'manifest', href: '/favicon/site.webmanifest' },
],
},
},
colorMode: {
classSuffix: '',
preference: 'light',
},
runtimeConfig: {
oauth: {
discord: {
clientId: process.env.NUXT_OAUTH_DISCORD_CLIENT_ID,
clientSecret: process.env.NUXT_OAUTH_DISCORD_CLIENT_SECRET,
scope: ['identify', 'guilds.members.read'],
},
},
},
routeRules: {
'/': { appMiddleware: 'auth' },
},
compatibilityDate: '2024-07-08',
});