fix: default fqdn

This commit is contained in:
Linventif 2024-07-01 01:50:54 +00:00
parent 8ce3390666
commit 8753137c3b

View File

@ -234,7 +234,7 @@ local possibleConfig = {
return value return value
end, end,
["resetIfEmpty"] = true, ["resetIfEmpty"] = true,
["defaultValue"] = "api.gmod-integration.com", ["defaultValue"] = "ws.gmod-integration.com",
["onEdit"] = function(setting, value) ["onEdit"] = function(setting, value)
if (!value || value == "") then return end if (!value || value == "") then return end
saveConfig(setting, value) saveConfig(setting, value)
@ -248,7 +248,7 @@ local possibleConfig = {
["description"] = "API FQDN that will be used for the API connection.", ["description"] = "API FQDN that will be used for the API connection.",
["type"] = "textEntry", ["type"] = "textEntry",
["resetIfEmpty"] = true, ["resetIfEmpty"] = true,
["defaultValue"] = "ws.gmod-integration.com", ["defaultValue"] = "api.gmod-integration.com",
["value"] = function(setting, value) ["value"] = function(setting, value)
return value return value
end, end,