mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 08:49:16 +02:00
http typo fix
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ function authenticateWithXdrd(client, salt, password) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handleConnect(clientIp, currentUsers, ws) {
|
function handleConnect(clientIp, currentUsers, ws) {
|
||||||
http.get(`https://ip-api.com/json/${clientIp}/`, (response) => {
|
http.get(`http://ip-api.com/json/${clientIp}/`, (response) => {
|
||||||
let data = '';
|
let data = '';
|
||||||
|
|
||||||
response.on('data', (chunk) => {
|
response.on('data', (chunk) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user