Closed danggerenba closed 1 year ago
The default dev host is localhost
only, not 127.0.0.1
.
If you want to set more hosts including 127.0.0.1
, use --host
flag.
npm run dev --host
Reference: https://docs.astro.build/en/reference/cli-reference/
Describe the bug
我防火墙什么的都正常 因为我在PHP环境下 localhost能够和127.0.0.1相互转换 但这个项目就不能转换 如果是这个项目本身的配置问题 我如何去修改
Reproduction
如果是这个项目本身localhost和127.0.0.1存在配置问题 我如何去修改
System Info
Used Package Manager
npm
Validations