From 210b7edb854ccb05e3717a5b13a3efb6a25b179a Mon Sep 17 00:00:00 2001 From: Chris Roos Date: Tue, 14 Jan 2025 17:13:38 +0000 Subject: [PATCH] Load scratch-gui from cloudflare pages --- src/components/Editor/Project/Project.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Editor/Project/Project.jsx b/src/components/Editor/Project/Project.jsx index d197242b8..9baf1e198 100644 --- a/src/components/Editor/Project/Project.jsx +++ b/src/components/Editor/Project/Project.jsx @@ -53,8 +53,7 @@ const Project = (props) => { setLoading(false); }, []); - const publicUrl = process.env.PUBLIC_URL; - const iframeSrc = `${publicUrl}/scratch-component.html`; + const iframeSrc = "https://scratch-editor.pages.dev/"; return (