diff --git a/src/components/ContentWrap.jsx b/src/components/ContentWrap.jsx index ab68d38..2570f97 100644 --- a/src/components/ContentWrap.jsx +++ b/src/components/ContentWrap.jsx @@ -21,7 +21,7 @@ const minCodeWrapSize = 33; /* global htmlCodeEl */ -const PREVIEW_FRAME_HOST = !window.location.href.includes('localhost') +const PREVIEW_FRAME_HOST = window.location.href.includes('localhost') ? 'http://localhost:7888' : `https://wbmakr.com`;