update url
All checks were successful
Gitea Actions Demo / check (push) Successful in 23s

This commit is contained in:
2024-09-30 18:05:42 +07:00
parent bf275844d2
commit 049164596c
3 changed files with 5 additions and 19 deletions

View File

@ -1,4 +1,7 @@
const BASE_URL = ''
const BASE_URL =
import.meta.env.NODE_ENV === 'stg' ? 'https://stg-be.samliu.io.vn/' : ''
console.log(BASE_URL)
export const POST_LOGIN = `${BASE_URL}/api/auth/login`
export const POST_LOGOUT = `${BASE_URL}/api/auth/logout`