From 43d123f9568073b46fc386adaa8cfa03fbcf6b0a Mon Sep 17 00:00:00 2001 From: radex Date: Tue, 30 Jan 2024 15:00:05 +0100 Subject: [PATCH] Update backend URL and code prefix --- main.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.rb b/main.rb index 65a7403..d2dd13a 100644 --- a/main.rb +++ b/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!