hypothetical/resources/assets/js/site-vars.js

4 lines
106 B
JavaScript
Raw Normal View History

let SiteVars = {
page: location.href.replace(/^[^:]*:\/\/[^\/]*\//, "").replace(/(\/|#|\?).*/, "")
};