-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
90 lines (87 loc) · 2.15 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import pkg from './package.json';
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
apiSecret: '',
apiBaseUrl: '',
// multi-project configuration
projects: {},
public: {
projectLogin: false, // disable/enable project-login page
appName: 'BREVIA',
appDescription: '',
appLogo: '/brevia-logo.svg',
maxUserChatbots: '',
cookiesPrivacyTerms: '',
// demo limits
demo: {
maxChatMessages: '30', // max chatbot msg number per day
maxChatFiles: '3', // max number of files per Chatbot
maxChatQuestions: '20', // max number of Q&A per Chatbot
maxChatLinks: '5', // max number of links per Chatbot
maxFileSize: '5', // max file size in MB
maxNumAnalysis: '5', // max num analysis per day
},
integration: 'brevia', // possibile values: brevia, bedita
brevia: {
features: {
signup: false,
changePassword: false,
deleteAccount: false,
privacyDocuments: false,
demoVersion: false,
},
},
version: pkg?.version,
},
// brevia integration session & auth credentials
brevia: {
session: {
name: 'Brevia',
secret: 'change-this-super-secret-secret-secret-password',
},
authCredentials: [{ username: 'brevia', password: 'brevia' }],
},
},
imports: {
dirs: ['store'],
},
modules: [
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
'@nuxtjs/i18n',
'nuxt-icon',
'nuxt-gtag',
'@atlasconsulting/nuxt-bedita',
'@nuxt/eslint',
],
build: {
transpile: ['@vuepic/vue-datepicker'],
},
app: {
head: {
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
},
},
css: ['@/assets/style.css'],
i18n: {
strategy: 'no_prefix',
locales: ['it', 'en'],
},
gtag: {
id: 'G-XXXXXXXXXX',
initialConsent: false,
},
bedita: {
recaptcha: {
enabled: true,
hideBadge: true,
useRecaptchaNet: true,
},
session: {
name: 'Brevia',
secret: '',
},
},
compatibilityDate: '2024-10-02',
});