1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-10 00:16:18 +02:00

add preview url for production

This commit is contained in:
Kushagra Gour
2019-02-28 17:01:06 +05:30
parent df9ca995d4
commit 75ad9249d6

View File

@ -22,7 +22,9 @@ import { commandPaletteService } from '../commandPaletteService';
import { PreviewDimension } from './PreviewDimension';
const minCodeWrapSize = 33;
const PREVIEW_FRAME_HOST = window.DEBUG ? 'http://localhost:7888' : ' ';
const PREVIEW_FRAME_HOST = window.DEBUG
? 'http://localhost:7888'
: `https://preview.${location.host}`;
/* global htmlCodeEl
*/