build(devcontainer): 添加 host.docker.internal 作为主机网关
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 1m32s
CI/CD Pipeline / build-and-deploy (push) Successful in 1m43s

This commit is contained in:
严浩
2025-11-10 10:53:12 +08:00
parent 2440605fce
commit fa77b772be

View File

@@ -26,7 +26,8 @@
// ".devcontainer/.env", // ".devcontainer/.env",
// ----- // -----
"--cap-add=NET_ADMIN", "--cap-add=NET_ADMIN",
"--cap-add=NET_RAW" "--cap-add=NET_RAW",
"--add-host=host.docker.internal:host-gateway"
], ],
"customizations": { "customizations": {
"vscode": { "vscode": {