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:
@@ -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())
|
||||||
@@ -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"]
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
const axiosInstance = axios.create({
|
const axiosInstance = axios.create({
|
||||||
@@ -34,4 +35,7 @@ axiosInstance.interceptors.response.use(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
export default axiosInstance
|
export default axiosInstance
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> my-feature-branch
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user