Update backend URL and code prefix

master
radex 2024-01-30 15:00:05 +01:00
parent b49426a9df
commit 43d123f956
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ module Excon
end
end
BACKEND_URL = 'https://inventory.waw.hackerspace.pl/api/1/'
CODE_PREFIX = "HTTP://I/"
BACKEND_URL = 'https://inventory.hackerspace.pl/api/1/'
CODE_PREFIX = "https://inventory.hackerspace.pl/"
def api(uri)
Excon.get(BACKEND_URL + uri + "/").json!