initial commit - LeDiscord plateforme des copains

This commit is contained in:
EvanChal
2025-08-21 00:28:21 +02:00
commit b7a84a53aa
93 changed files with 16247 additions and 0 deletions

26
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,26 @@
const { defineConfig } = require('vite')
const vue = require('@vitejs/plugin-vue')
const path = require('path')
module.exports = defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
},
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true
},
'/uploads': {
target: 'http://backend:8000',
changeOrigin: true
}
}
}
})