|
|
@@ -2,5 +2,15 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
|
|
export default defineConfig({
|
|
|
- plugins: [sveltekit()]
|
|
|
+ plugins: [sveltekit()],
|
|
|
+ server: {
|
|
|
+ host: true,
|
|
|
+ port: 5173,
|
|
|
+ allowedHosts: ['counter.mixtech.dev.br'],
|
|
|
+ hmr: {
|
|
|
+ host: 'counter.mixtech.dev.br',
|
|
|
+ protocol: 'wss',
|
|
|
+ port: 443,
|
|
|
+ },
|
|
|
+ },
|
|
|
});
|