Skip to content

Commit

Permalink
Oh oops forgot to delete 2 arguments, massively screwed the DOM tree
Browse files Browse the repository at this point in the history
  • Loading branch information
00Fjongl committed Jul 8, 2024
1 parent 159a0ec commit e820fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/templates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ const header = tryReadFile(
// Used only on faq.html
.replace("<!--FAQ-->", faq)
// Used only on terms.html
.replace("<!--TOS-->", str, terms)
.replace("<!--TOS-->", terms)
// Used only on header.html
.replace("<!--SETTINGS-->", str, settings);
.replace("<!--SETTINGS-->", settings);
2 changes: 1 addition & 1 deletion views/assets/js/common-16451543478.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const tryGetElement = id => document.getElementById(id) || {};
* Not exactly apex, as any subdomain other than those listed will be ignored.
**/

const getDomain = () => location.host.replace(/^(www|edu|cooking|beta)\./, "");
const getDomain = () => location.host.replace(/^(?:www|edu|cooking|beta)\./, "");

/* STEALTH FRAME */
const goFrame = url => {
Expand Down

0 comments on commit e820fc4

Please sign in to comment.