url fixes

This commit is contained in:
Cynthia Foxwell 2017-12-09 10:49:38 -07:00
parent 0bf93b60e9
commit c5f0e8ec30
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ var setup = function () {
var endpoint_setup = function () {
var settings = JSON.parse(fs.readFileSync(settingsjson(), "UTF8"));
settings.WEBAPP_ENDPOINT="https://cynfoxwell.cf/cynergy";
settings.WEBAPP_ENDPOINT="https://cynergy.cynfoxwell.cf";
fs.writeFileSync(settingsjson(), JSON.stringify(settings));
};

View File

@ -23,7 +23,7 @@
}
else {
if(confirm("THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nIf you were told to install this, DO NOT DO IT. You have a 220% chance of your account getting stolen.\n\nClick OK to accept and continue, otherwise, click Cancel to get out of here Freeman.\n\n\nIf you need support contact Cynthia\uD83D\uDC9A#0501","Cynergy Disclaimer")){
require("electron").remote.getCurrentWindow().loadURL("https://discord.cynfoxwell.cf/channels/@me");
require("electron").remote.getCurrentWindow().loadURL("https://cynergy.cynfoxwell.cf/channels/@me");
}
else {
require("electron").remote.getCurrentWindow().loadURL("https://discordapp.com/channels/@me");