Skip to content

Commit

Permalink
Accept all hosts and origins
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Jan 28, 2025
1 parent 12a8f7e commit be3c214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ export default defineConfig(({ command, mode }): UserConfig => {
proxy: {
"/api": `http://127.0.0.1:${readReplicaPort()}`,
},
allowedHosts: ["icp-api.io"],
allowedHosts: true,
cors: {
origin: ["https://identity.internetcomputer.org"],
origin: "*",
},
},
};
Expand Down

0 comments on commit be3c214

Please sign in to comment.