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) logger.error(f"Application crashed: {e}", exc_info=True)
if __name__ == "__main__": if __name__ == "__main__":
# Запускаем в основном потоке # Запускаем в основном пото
asyncio.run(main()) asyncio.run(main())

View File

@@ -23,4 +23,4 @@ EXPOSE 5173
# Запускаем Vite сервер # Запускаем Vite сервер
ENV HOST=0.0.0.0 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' import axios from 'axios'
const axiosInstance = axios.create({ const axiosInstance = axios.create({
@@ -35,3 +36,6 @@ axiosInstance.interceptors.response.use(
) )
export default axiosInstance export default axiosInstance
=======
>>>>>>> my-feature-branch

View File

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