-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
33 lines (33 loc) · 1.31 KB
/
Copy pathnuxt.config.ts
File metadata and controls
33 lines (33 loc) · 1.31 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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-05-15',
devtools: { enabled: true },
modules: ['@nuxt/ui'],
css: ['~/assets/css/fonts.css', '~/assets/css/main.css'],
runtimeConfig: {
// MongoDB connection string (required). Set MONGODB_URI in .env.
mongodbUri: process.env.MONGODB_URI,
// Server-only. Override with ADMIN_PASSWORD. Gates the hidden /admin page.
adminPassword: process.env.ADMIN_PASSWORD || 'changeme',
// Google Drive file storage (optional). When set, uploaded CVs/resources are
// stored in Drive; otherwise only filenames are kept.
googleClientId: process.env.GOOGLE_CLIENT_ID,
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
googleRefreshToken: process.env.GOOGLE_REFRESH_TOKEN,
gdriveCvFolderId: process.env.GDRIVE_CV_FOLDER_ID,
gdriveCourseFolderId: process.env.GDRIVE_COURSE_FOLDER_ID
},
app: {
head: {
title: 'Syllabus Assistant',
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: 'anonymous' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'
}
]
}
}
})