Skip to content

Commit

Permalink
Fix breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Jan 28, 2025
1 parent 278872a commit 12a8f7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,14 @@ export default defineConfig(({ command, mode }): UserConfig => {
command !== "serve"
? {}
: {
https: process.env.TLS_DEV_SERVER === "1",
https: process.env.TLS_DEV_SERVER === "1" ? {} : undefined,
proxy: {
"/api": `http://127.0.0.1:${readReplicaPort()}`,
},
allowedHosts: ["icp-api.io"],
cors: {
origin: ["https://identity.internetcomputer.org"],
},
},
};
});

0 comments on commit 12a8f7e

Please sign in to comment.