Remove console.log

parent 4a83d535
(function() {
const canonicalUrl = document.querySelector("link[rel='canonical']").href;
console.log(canonicalUrl);
// console.log(canonicalUrl);
const x = {
title: document.title,
url: canonicalUrl,
};
console.log(x);
// console.log(x);
// FIXME: Doesn't work on http (localhost)
history.pushState(x, x.title, x.url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment