diff --git a/lib/api.rb b/lib/api.rb index c9c5cdd..1c227a6 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -87,7 +87,7 @@ class W3DHub end def self.post(url, headers = DEFAULT_HEADERS, body = nil, api = :api) - excon(:post, url, headers, body) + excon(:post, url, headers, body, api) end # Method: POST diff --git a/lib/states/boot.rb b/lib/states/boot.rb index 7dda073..c397b01 100644 --- a/lib/states/boot.rb +++ b/lib/states/boot.rb @@ -12,11 +12,11 @@ class W3DHub @w3dhub_logo = get_image("#{GAME_ROOT_PATH}/media/icons/app.png") @tasks = { # connectivity_check: { started: false, complete: false }, # HEAD connectivity-check.ubuntu.com or HEAD secure.w3dhub.com? + server_list: { started: false, complete: false }, refresh_user_token: { started: false, complete: false }, service_status: { started: false, complete: false }, applications: { started: false, complete: false }, - app_icons: { started: false, complete: false }, - server_list: { started: false, complete: false } + app_icons: { started: false, complete: false } } @offline_mode = false