Created the RequestUtil.js
This commit is contained in:
3
src/common/utils/RequestUtil.js
Normal file
3
src/common/utils/RequestUtil.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
const BACKEND_ADDRESS = "https://api.quickbyte.app/";
|
||||||
|
|
||||||
|
const loadApiRoot = () => import.meta.env.PROD ? BACKEND_ADDRESS : "/api";
|
Reference in New Issue
Block a user