This commit is contained in:
yanczi 2025-10-19 02:44:10 +02:00
parent 7d1af32688
commit f3adf19649
139 changed files with 25604 additions and 0 deletions

18
client_2.1/vue.config.js Normal file
View file

@ -0,0 +1,18 @@
const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
transpileDependencies: true,
devServer: {
proxy: {
// Wszystkie zapytania zaczynające się od /user LUB /content
// zostaną przekierowane do serwera backendowego.
'/api': {
target: 'http://127.0.0.1:3000', // Adres backendu
changeOrigin: true,
secure: false,
// Usuwamy /api z początku ścieżki przed wysłaniem do backendu
pathRewrite: { '^/api': '' },
},
},
},
});