diff --git a/WebApi/routes.txt b/WebApi/routes.txt index 2511dbf..3f92ea2 100644 --- a/WebApi/routes.txt +++ b/WebApi/routes.txt @@ -27,4 +27,8 @@ ./Blazor/Blazor/Services/DataLocalService.cs: var currentData = await _http.GetFromJsonAsync>(API.API_URL + "questions/" + API.TOKEN) ./Blazor/Blazor/Services/DataLocalService.cs: var currentData = _http.GetFromJsonAsync>(API.API_URL + "players/" + id + "/" + API.TOKEN).Result ./Blazor/Blazor/Services/DataLocalService.cs: var answer = _http.GetFromJsonAsync(API.API_URL + "answer/" + id + "/" + API.TOKEN).Result - \ No newline at end of file + public static class API +{ + public static string TOKEN = "qUOGkWdoPCgbmuqxIC8xiaX0rV1Pw1LoPafkaoHOgszEyD9P2vcOu493xCDZpAqO"; //ASK IF YOU WANT THOSE ACCESS + public static string API_URL = "https://trusting-panini.87-106-126-109.plesk.page/api/"; //ASK IF YOU WANT THOSE ACCESS +}