1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

cha2524222fvdfа

This commit is contained in:
MoonTestUse1
2024-12-24 04:26:34 +06:00
parent b302d9664d
commit 573e09e99f
2 changed files with 2 additions and 9 deletions

View File

@@ -29,14 +29,7 @@ bot_thread.start()
# CORS middleware # CORS middleware
app.add_middleware( app.add_middleware(
CORSMiddleware, CORSMiddleware,
allow_origins=[ allow_origins=["*"],
"http://localhost:5173",
"http://185.139.70.62:5173",
"http://46.233.242.206:5173",
"http://185.139.70.62",
"http://46.233.242.206",
"http://0.0.0.0",
],
allow_credentials=True, allow_credentials=True,
allow_methods=["*"], allow_methods=["*"],
allow_headers=["*"], allow_headers=["*"],

View File

@@ -12,7 +12,7 @@ export default defineConfig({
server: { server: {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:8080', target: 'http://localhost:8000',
changeOrigin: true changeOrigin: true
} }
} }