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

Merge my-feature-branch into develop with resolved conflicts

This commit is contained in:
MoonTestUse1
2025-01-05 00:43:13 +06:00
4 changed files with 13 additions and 12 deletions

View File

@@ -34,5 +34,5 @@ async def main():
logger.error(f"Application crashed: {e}", exc_info=True)
if __name__ == "__main__":
# Запускаем в основном потоке
# Запускаем в основном пото
asyncio.run(main())

View File

@@ -23,4 +23,4 @@ EXPOSE 5173
# Запускаем Vite сервер
ENV HOST=0.0.0.0
CMD ["npm", "run", "dev", "--", "--host"]
CMD ["npm", "run", "dev"]

View File

@@ -1,3 +1,4 @@
<<<<<<< HEAD
import axios from 'axios'
const axiosInstance = axios.create({
@@ -34,4 +35,7 @@ axiosInstance.interceptors.response.use(
}
)
export default axiosInstance
export default axiosInstance
=======
>>>>>>> my-feature-branch

View File

@@ -2,27 +2,24 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import { fileURLToPath, URL } from 'node:url';
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
'@': path.resolve(__dirname, './src'),
},
},
optimizeDeps: {
include: ['axios']
},
server: {
host: true,
port: 5173,
watch: {
usePolling: true
},
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true
}
}
}
});