Sign in
canrd-outside
/
order-erp-front
·
Commits
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
1
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
4805ca26260fc018971736bf78bce3c5aaab8d91
Authored by
无木
2021-06-05 20:14:55 +0800
1 parent
43769286
chore: vite server options adjustment
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
vite.config.ts
vite.config.ts
View file @
4805ca2
...
...
@@ -57,6 +57,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
57
57
],
58
58
},
59
59
server: {
60
+ // Listening on all local IPs
61
+ host: true,
60
62
port: VITE_PORT,
61
63
// Load proxy configuration from .env
62
64
proxy: createProxy(VITE_PROXY),
...
...