fix(frontend): add vite preview allowedHosts and port config

Vite preview blocks unknown hosts by default. Added allowedHosts for
imphnen.asepharyana.my.id and set port/host in preview config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MythEclipseandClaude Opus 4.6 committed 2026-06-01 23:22:14 +07:00
1 parent 0f6cdff8ee
commit ccd3ccd556
1 file changed
+5
+5
View File
@@ -13,4 +13,9 @@ export default defineConfig({
server: { server: {
middlewareMode: false, middlewareMode: false,
}, },
preview: {
port: 3000,
host: true,
allowedHosts: ["imphnen.asepharyana.my.id", "imphnen.asepharyana.tech", "imphnen.asepharyana.web.id"],
},
}); });