Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/55gms/55GMS
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus committed Mar 25, 2024
2 parents bf3cb9e + dddcd03 commit 1f4ef56
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/assets/js/motd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.addEventListener("load", (event) => {
fetch("/assets/static/motd.json")
fetch("/assets/static/json/motd.json")
.then((response) => response.json())
.then((data) => {
document.getElementById("motd").onclick = function () {
Expand Down
2 changes: 1 addition & 1 deletion static/assets/json/motd.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"motd": {"body": "does this work?<br><button onclick='while(1){location.reload(1);}'>Don't Click Me Or Else</button>", "footer": "little panda"},
"motd": {"body": "fun fact 55gms is open source on gothib", "footer": "redissus"},
"qotd": {"body": "life is like a box of chocolates it doesn't last long for fat people", "footer": "s1900724@online.houstonisd.org"}
}
5 changes: 0 additions & 5 deletions static/assets/json/quotes.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,5 @@
{
"msg": "the server this is running on actually has 500 mpbs internet",
"frequency": 20
},
{
"msg": "Laszlo is a skibidi rizzler",
"frequency": 20,
"comment": "i promised him"
}
]

0 comments on commit 1f4ef56

Please sign in to comment.