Actualiser frontend/vite.config.js

This commit is contained in:
2024-06-06 16:16:54 +02:00
parent 29dcf6fc83
commit b651d7a602

View File

@@ -30,7 +30,8 @@ export default defineConfig((mode) => {
// },
server: {
host: env.DEV_SERVER_HOST,
port: env.DEV_SERVER_PORT
port: env.DEV_SERVER_PORT,
origin: `http://${env.DEV_SERVER_HOST}:${env.DEV_SERVER_PORT}`, // hotfix, webfont was loaded from wrong url
},
build: {
manifest: "manifest.json",