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:
co-authored by
Claude Opus 4.6
parent
0f6cdff8ee
commit
ccd3ccd556
@@ -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"],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user