chore(devcontainer): update forwarded ports to 4730 and 4731
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 3m2s
CI/CD Pipeline / build-and-deploy (push) Successful in 3m13s

This commit is contained in:
严浩
2025-11-06 17:43:14 +00:00
parent f883e0bec1
commit fd42a4d6d5
3 changed files with 44 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
{
"name": "Sandbox Dev Container",
"forwardPorts": [23730, 23731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
"forwardPorts": [4730, 4731], // vscode://settings/remote.localPortHost -> 默认只监听 localhost
"portsAttributes": {
"23730": { "label": "开发服务器端口", "onAutoForward": "notify" },
"23731": { "label": "预览服务器端口", "onAutoForward": "notify" }
"4730": { "label": "开发服务器端口", "onAutoForward": "notify" },
"4731": { "label": "预览服务器端口", "onAutoForward": "notify" }
},
"build": {
"dockerfile": "Dockerfile",