Update backend URL and code prefix
parent
b49426a9df
commit
43d123f956
4
main.rb
4
main.rb
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue