change domain name

ipost.tk => ipost.rocks
This commit is contained in:
Mystikfluu
2022-11-30 15:19:14 +01:00
parent 365991c061
commit a4206ec1a7
52 changed files with 13 additions and 1042 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
let username
const wss_server = "wss://ipost.tk"
const wss_server = "wss://ipost.rocks"
const wss_port = "443"
const wss_URI = wss_server + ":" + wss_port
+1 -1
View File
@@ -1,4 +1,4 @@
const urlregex = /(([a-z]+:\/\/)(([a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|app|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal|tk|ga|xxx|to))(:[0-9]{1,5})?(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&]*)?)?(#[a-zA-Z0-9!$&'()*+.=-_~:@/?]*)?)(\s+|$)/gi
const urlregex = /(([a-z]+:\/\/)(([a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|app|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal|tk|rocks|ga|to))(:[0-9]{1,5})?(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&]*)?)?(#[a-zA-Z0-9!$&'()*+.=-_~:@/?]*)?)(\s+|$)/gi
function urlify(text) {
return text.replace(urlregex,'<a href="$1" target="_blank" class="insertedlink">$1</a> ')
}
+1 -1
View File
@@ -1,7 +1,7 @@
let username,reply_id=0,highest_id,currentChannel = sessionStorage.getItem("lastchannel") || "everyone"
const
wss_server = "wss://ipost.tk",
wss_server = "wss://ipost.rocks",
wss_port = "443",
wss_URI = wss_server + ":" + wss_port,
decURIComp = decodeURIComponent