update workflow
Some checks failed
Release Build / build-docker (push) Successful in 38s
Release Build / build-android-and-release (push) Failing after 1m20s

This commit is contained in:
Rene Kievits
2025-12-24 08:04:47 +01:00
parent 35490f0547
commit 2fc262ef6a

View File

@@ -1,29 +1,33 @@
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite';
import { defineConfig, loadEnv } from 'vite';
import vue from '@vitejs/plugin-vue';
import vueDevTools from 'vite-plugin-vue-devtools';
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
allowedHosts: [
import.meta.env.VITE_HOST,
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
return {
plugins: [
vue(),
vueDevTools(),
],
host: true,
port: 5173,
strictPort: true,
hmr: {
host: import.meta.env.VITE_HOST,
protocol: 'wss',
clientPort: 443,
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
},
server: {
allowedHosts: [
env.VITE_HOST,
],
host: true,
port: 5173,
strictPort: true,
hmr: {
host: env.VITE_HOST,
protocol: 'wss',
clientPort: 443,
},
},
};
});