From 4e9c442a7150256f2807abc05983e7cd88186a67 Mon Sep 17 00:00:00 2001 From: Leo McArdle Date: Tue, 10 Dec 2024 15:58:36 +0000 Subject: [PATCH] fix(play): proxy `/runner.html` locally, not just subpaths (#12282) --- client/src/setupProxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/setupProxy.js b/client/src/setupProxy.js index 5f1e61b9808c..4edaa6930fb6 100644 --- a/client/src/setupProxy.js +++ b/client/src/setupProxy.js @@ -21,7 +21,7 @@ function config(app) { // All those root-level images like /favicon-48x48.png app.use("/*.(png|webp|gif|jpe?g|svg)", proxy); // Proxy play runner - app.use("/**/runner.html", proxy); + app.use("**/runner.html", proxy); } export default config;