From d9e8a0294cb190377132c282d005eb5c48f7aae4 Mon Sep 17 00:00:00 2001 From: Leo McArdle Date: Tue, 10 Dec 2024 15:49:33 +0000 Subject: [PATCH] fix(play): proxy `/runner.html` locally, not just subpaths --- 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;