Ghost/ghost/admin/app/utils/window-proxy.js

14 lines
260 B
JavaScript
Raw Normal View History

export default {
changeLocation(url) {
window.location = url;
},
replaceLocation(url) {
window.location.replace(url);
},
replaceState(params, title, url) {
window.history.replaceState(params, title, url);
}
};