fix: allow all hosts in vite dev server

This commit is contained in:
Kunthawat Greethong
2026-06-17 11:47:38 +07:00
parent 3ea51d906a
commit 0cdcc79125

View File

@@ -14,7 +14,7 @@ export default defineConfig({
server: {
port: 3000,
open: true,
allowedHosts: ['opinion.moreminimore.com'],
allowedHosts: 'all',
proxy: {
'/api': {
target: 'http://localhost:5001',