当前位置:网站首页>Vite: configure IP access
Vite: configure IP access
2022-07-02 03:39:00 【Lvan-Zhang】
background
By default vite It is not allowed to pass through ip Address access , Only through localhost.
modify
It just needs to be modified vite.config.ts, take host Change it to 0.0.0.0
server:{
host: '0.0.0.0',
}
You can see it after modification .
Change vite There is no need to restart the service for configuration ~
Introduction to official documents :
Reference material
边栏推荐
- h5中的页面显示隐藏执行事件
- 蓝桥杯单片机数码管技巧
- MySQL connection query and subquery
- Pointer array & array pointer
- 【无线图传】基于FPGA的简易无线图像传输系统verilog开发,matlab辅助验证
- Exchange rate query interface
- The page in H5 shows hidden execution events
- In depth interpretation of pytest official documents (26) customized pytest assertion error information
- 软件测试人的第一个实战项目:web端(视频教程+文档+用例库)
- Kotlin basic learning 17
猜你喜欢

Flutter中深入了解MaterialApp,常用属性解析

潘多拉 IOT 开发板学习(RT-Thread)—— 实验1 LED 闪烁实验(学习笔记)

蓝桥杯单片机省赛第八届

In the era of programmers' introspection, five-year-old programmers are afraid to go out for interviews

The first game of the 11th provincial single chip microcomputer competition of the Blue Bridge Cup

Account management of MySQL

MySQL connection query and subquery

汇率的查询接口

Sentry experience and architecture, a fledgling monitoring product with a market value of $100million

MySQL index, transaction and storage engine
随机推荐
[designmode] builder model
蓝桥杯单片机省赛第八届
Global and Chinese markets for ultrasonic probe disinfection systems 2022-2028: Research Report on technology, participants, trends, market size and share
[数据库]JDBC
Detailed explanation of ThreadLocal
Sentry experience and architecture, a fledgling monitoring product with a market value of $100million
蓝桥杯单片机省赛第十一届第二场
Which of PMP and software has the highest gold content?
[golang] leetcode intermediate bracket generation & Full Permutation
Kotlin基础学习 14
Kotlin basic learning 14
Pycharm2021 delete the package warehouse list you added
The 6th Blue Bridge Cup single chip microcomputer provincial competition
蓝桥杯单片机省赛第七届
JIT deep analysis
Oracle 常用SQL
Download and use of the super perfect screenshot tool snipaste
The first game of the 11th provincial single chip microcomputer competition of the Blue Bridge Cup
软件测试人的第一个实战项目:web端(视频教程+文档+用例库)
"Analysis of 43 cases of MATLAB neural network": Chapter 41 implementation of customized neural network -- personalized modeling and Simulation of neural network