chore: 配置开发服务器host和端口
- host: 0.0.0.0 允许外部访问 - port: 8084 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,8 @@ module.exports = {
|
|||||||
publicPath: './',
|
publicPath: './',
|
||||||
|
|
||||||
devServer: {
|
devServer: {
|
||||||
|
host: '0.0.0.0',
|
||||||
|
port: 8084,
|
||||||
proxy: {
|
proxy: {
|
||||||
// 代理所有 /api 开头的请求
|
// 代理所有 /api 开头的请求
|
||||||
'/api': {
|
'/api': {
|
||||||
|
|||||||
Reference in New Issue
Block a user