shack/assets/js/navigate.js

9 lines
211 B
JavaScript
Raw Normal View History

// centralize navigation to simplify switching between client and server routing
export default function navigate(path) {
window.location.href = path;
}
2023-06-11 03:32:02 +00:00
export function reload() {
window.location.reload();
}