diff --git a/packages/docs/site/docs/13-contributing/02-code.md b/packages/docs/site/docs/13-contributing/02-code.md index 0078efe483..1c80c4b0b5 100644 --- a/packages/docs/site/docs/13-contributing/02-code.md +++ b/packages/docs/site/docs/13-contributing/02-code.md @@ -63,7 +63,7 @@ npx @wp-now/wp-now start --port=80 There are a few ways to set up a local test domain, including editing your `hosts` file. If you're unsure how to do that, we suggest installing [Laravel Valet](https://laravel.com/docs/11.x/valet) and then running the following command: ```bash -valet proxy playground.test http://localhost:5400 --secure +valet proxy playground.test http://127.0.0.1:5400 --secure ``` Your dev server is now available on https://playground.test. diff --git a/packages/php-wasm/compile/php/Dockerfile b/packages/php-wasm/compile/php/Dockerfile index 2eba7ce655..2bb1e82beb 100644 --- a/packages/php-wasm/compile/php/Dockerfile +++ b/packages/php-wasm/compile/php/Dockerfile @@ -385,7 +385,7 @@ RUN set -euxo pipefail; \ # Without this, browsers will try the wasm:// protocol and never load the source map. if [ "$EMSCRIPTEN_ENVIRONMENT" = "web" ]; then \ export PHP_VERSION_ESCAPED="${PHP_VERSION//./_}"; \ - echo -n ' --source-map-base http://localhost:5400/@fs/Users/cloudnik/www/Automattic/core/plugins/playground/packages/php-wasm/web/public/${PHP_VERSION_ESCAPED}/' >> /root/.emcc-php-wasm-flags; \ + echo -n ' --source-map-base http://127.0.0.1:5400/@fs/Users/cloudnik/www/Automattic/core/plugins/playground/packages/php-wasm/web/public/${PHP_VERSION_ESCAPED}/' >> /root/.emcc-php-wasm-flags; \ fi; \ else \ # Preserve symbol names in node.js build – the bundle size doesn't matter as much diff --git a/packages/playground/remote/remote.html b/packages/playground/remote/remote.html index 1a8ea4d75f..de2b8077cb 100644 --- a/packages/playground/remote/remote.html +++ b/packages/playground/remote/remote.html @@ -62,10 +62,10 @@ http-equiv="origin-trial" content="At8dRmIsdzok7mB3xOCPtkm0HiJMZXwA2la1NXriF4+YT5RNkiOS4Tr31Q3Gj0L5jiI2tmMgFlSUyn41+zVbBAsAAABreyJvcmlnaW4iOiJodHRwczovL3dhc20ud29yZHByZXNzLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViQXNzZW1ibHlKU1Byb21pc2VJbnRlZ3JhdGlvbiIsImV4cGlyeSI6MTczMDI0NjM5OX0=" /> - + diff --git a/packages/playground/website/demos/php-blueprints.ts b/packages/playground/website/demos/php-blueprints.ts index 8049c67af0..b09bc99e57 100644 --- a/packages/playground/website/demos/php-blueprints.ts +++ b/packages/playground/website/demos/php-blueprints.ts @@ -77,7 +77,7 @@ try { * > "check-requirements": false, * Then requiring it breaks http and https requests: * - * > echo file_get_contents('http://localhost:5400/website-server/'); + * > echo file_get_contents('http://127.0.0.1:5400/website-server/'); * > Warning: PHP Request Startup: Failed to open stream: Operation timed out in php-wasm run script on line 13
* * The check is therefore disabled for now.