Closed yandeu closed 1 year ago
The proxy setting works great using the npm version of five-server, but not using the VSCode extension.
// fiveserver.config.js module.exports = { port: 5500, proxy: { '/': 'http://localhost:8888/' } }
It works when the server binds to 127.0.0.1 In my example, I run the PHP server on 127.0.0.1:8888 and it works. php -S 127.0.0.1:8888 -t .
127.0.0.1:8888
php -S 127.0.0.1:8888 -t .
The proxy setting works great using the npm version of five-server, but not using the VSCode extension.