mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 08:49:16 +02:00
move some stuff around, change some things slightly
This commit is contained in:
+1
-2
@@ -23,8 +23,7 @@ function send(request) {
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (data.success && data.token) {
|
||||
if (!serverConfig.identification.token)
|
||||
{
|
||||
if (!serverConfig.identification.token) {
|
||||
logInfo("Registered to FM-DX Server Map successfully.");
|
||||
serverConfig.identification.token = data.token;
|
||||
configSave();
|
||||
|
||||
Reference in New Issue
Block a user