Skip to content

Commit

Permalink
feat: allowedHosts: true
Browse files Browse the repository at this point in the history
  • Loading branch information
itswadesh committed Jan 22, 2025
1 parent 4fba590 commit 9964354
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ export default defineConfig(({ command, mode }) => {
// })
],
server: {
allowedHosts: [
'.litekart.in',
'.easypanel.host'
],
allowedHosts: true, // This is required, else will "throw Blocked request. This host ("shopnx.in") is not allowed."
host: true,
port: 3000,
proxy: {
Expand Down

0 comments on commit 9964354

Please sign in to comment.