Skip to content

Commit 9dd0dbe

Browse files
committed
Vite update
1 parent d8c5bf7 commit 9dd0dbe

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"socket.io-client": "^4.5.3",
5353
"ua-parser-js": "^1.0.33",
5454
"uuid": "^8.3.2",
55-
"vite": "^4.5.5",
55+
"vite": "^4.5.6",
5656
"vite-plugin-eslint": "^1.8.1",
5757
"vite-plugin-pwa": "^0.14.7",
5858
"vite-plugin-top-level-await": "^1.3.0",

vite.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export default defineConfig(() => {
3939
protocol: 'ws',
4040
port: 3000,
4141
host: 'localhost'
42-
}
42+
},
43+
allowedHosts: ['.ngrok.app']
4344
},
4445
base: process?.env?.PUBLIC_URL
4546
? process.env.PUBLIC_URL

0 commit comments

Comments
 (0)