feat(deployment): allow deploy to vercel

This commit is contained in:
Kentai Radiquum 2024-05-15 19:40:18 +05:00
parent f4e340b21d
commit f3a15eb956
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 23 additions and 0 deletions

View file

@ -1,5 +1,9 @@
export let API_URL = "/api/v1";
if (process.env.API_URL) {
API_URL = process.env.API_URL;
}
export const endpoints = {
index: {
last: `${API_URL}/index/last`,