mirror of
https://github.com/ION606/selmer-bot-website.git
synced 2026-05-14 22:16:54 +00:00
I messed up the domain name
This commit is contained in:
+3
-12
@@ -259,7 +259,7 @@
|
||||
|
||||
//Load the channels
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('get', `http://selmerbot.com/getChannels/`, true);
|
||||
xhr.open('get', `http://www.selmerbot.com/getChannels/`, true);
|
||||
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
|
||||
xhr.setRequestHeader('serverNumber', serverSettings.Id);
|
||||
xhr.onloadend = (e) => {
|
||||
@@ -315,10 +315,7 @@
|
||||
}
|
||||
|
||||
xhr.send();
|
||||
//Get serverId
|
||||
// xhr2 = new XMLHttpRequest();
|
||||
// xhr.open('get', 'http://localhost:53134/getCal', true);
|
||||
// xhr.setRequestHeader('userId', serverSettings)
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -388,7 +385,7 @@
|
||||
|
||||
//Send the data to the server
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('post', 'http://selmerbot.com/sendData/', true);
|
||||
xhr.open('post', 'http://www.selmerbot.com/sendData/', true);
|
||||
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
|
||||
xhr.setRequestHeader('serverSettings', JSON.stringify(serverSettings));
|
||||
|
||||
@@ -450,7 +447,6 @@
|
||||
<div id="buttons" class="buttonsmainbar">
|
||||
<button onclick="divChange('welcome')" class="btnside">Welcome</button>
|
||||
<button onclick="divChange('log')" class="btnside">Logging</button>
|
||||
<!-- <button onclick="divChange('cal')" class="btnside">Calendar</button> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -505,11 +501,6 @@
|
||||
<input type="submit" value="Submit", class="submitButton" onclick="sendData(event, { 'inp': 'logs' })">
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="cal", class="hide wc" style="margin-top: 20px;">
|
||||
<button class="helpbtn" onclick="alert('Use {sn} to insert the server name, {un} to insert the user name, and {ut} to insert the user tag\nExample: Welcome to {sn} Sir {un}#{ut}')"><img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.downloadclipart.net%2Flarge%2F45627-icon-with-question-mark-clipart.png&f=1&nofb=1" style="width: 50px; border-radius: 50%; border-style: solid;"></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user