diff --git a/components/ExportMenu.js b/components/ExportMenu.js index 14825a4..99aaab1 100644 --- a/components/ExportMenu.js +++ b/components/ExportMenu.js @@ -9,13 +9,13 @@ import Popout, { managePopout } from './Popout' const toIFrame = url => ` ` -const toURL = url => encodeURI(`https://carbon.now.sh/embed${url}`) +const toURL = url => encodeURI(`${location.origin}/embed${url}`) const MAX_PAYLOAD_SIZE = 5e6 // bytes function verifyPayloadSize(str) {