2023-06-01 22:06:11 +02:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
typescript: {
|
2023-06-04 10:26:36 +02:00
|
|
|
typeCheck: true
|
|
|
|
},
|
2023-06-04 22:06:28 +02:00
|
|
|
nitro: {
|
|
|
|
plugins: ['~/server/index.ts']
|
|
|
|
},
|
2023-06-04 10:26:36 +02:00
|
|
|
modules: [
|
|
|
|
'@nuxthq/ui'
|
2023-06-04 22:06:28 +02:00
|
|
|
],
|
|
|
|
runtimeConfig: {
|
|
|
|
discordClientId: '',
|
|
|
|
discordClientSecret: '',
|
|
|
|
oauthRedirectUri: 'http://localhost:3000/api/auth',
|
|
|
|
jwtSecret: '',
|
|
|
|
mongoUrl: '',
|
|
|
|
mongoUser: '',
|
|
|
|
mongoPass: '',
|
|
|
|
public: {
|
|
|
|
oauthUrl: 'https://discord.com/api/oauth2/authorize?client_id=1052974736432443432&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fapi%2Fauth&response_type=code&scope=identify'
|
|
|
|
}
|
|
|
|
}
|
2023-06-01 22:06:11 +02:00
|
|
|
})
|