Fixed api endpoints
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 54s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 54s
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
const config = useRuntimeConfig()
|
||||
const backendUrl = config.public.apiBaseUrl
|
||||
const backendUrl = process.env.API_BASE_URL || 'http://localhost:5000/api'
|
||||
|
||||
export {
|
||||
backendUrl
|
||||
|
||||
Reference in New Issue
Block a user