Created the RequestUtil.js

This commit is contained in:
2023-04-18 19:28:15 +02:00
parent 8a591792dd
commit 45bd3adaca

View File

@ -0,0 +1,3 @@
const BACKEND_ADDRESS = "https://api.quickbyte.app/";
const loadApiRoot = () => import.meta.env.PROD ? BACKEND_ADDRESS : "/api";