Ghost/apps/announcement-bar/scripts/load-portal.js

9 lines
257 B
JavaScript
Raw Normal View History

/** Script to load Portal bundle for local development */
function loadScript(src) {
var script = document.createElement('script');
script.src = src;
document.head.appendChild(script);
}
loadScript('http://localhost:3000/static/js/bundle.js');