more backend api work

This commit is contained in:
Cipher Vance
2025-11-22 22:57:59 -06:00
parent 6ae5b0ce26
commit 3c08445dc6
3 changed files with 7 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ api.interceptors.response.use(
// Use relative path in production, full URL in development
const refreshUrl = process.env.NODE_ENV === 'production'
? '/refresh-token'
? '/api/refresh-token'
: `${API_BASE_URL}/refresh-token`
const { data } = await axios.post(refreshUrl, {