Skip to content

Commit 9315254

Browse files
committed
Update MainFunctions.js
1 parent 449f45f commit 9315254

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Assets/MainFunctions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Public Variables (Without slash because replace issue):
44
var websiteURL = "https://catwithcode.moe";
5-
var websiteURLdnsFix = "https://catwithcode.github.io/";
5+
var websiteURLdnsFix = "https://catwithcode.github.io";
66

77
// Wallpapers:
88
const wallpaperOptions = [
@@ -216,7 +216,6 @@ function checkViewerType() {
216216
// NOTE: Breaks rehosting
217217
// if (!document.location.origin.includes(websiteURL) &&
218218
// !(location.hostname === "localhost" || location.hostname === "127.0.0.1")) {
219-
console.log(document.location.origin)
220219
if (document.location.origin.includes(websiteURLdnsFix)) {
221220

222221
// Variables (toString because else it would work on the internel Refernece):

0 commit comments

Comments
 (0)