Solved backend problem
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 40s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 40s
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
var backendUrl = ''
|
|
||||||
if (import.meta.env.PROD) {
|
|
||||||
backendUrl = 'https://api.aranroig.com/';
|
|
||||||
} else {
|
|
||||||
backendUrl = 'http://localhost:5000/'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
const config = useRuntimeConfig()
|
||||||
|
const backendUrl = config.public.apiBaseUrl
|
||||||
|
|
||||||
export {
|
export {
|
||||||
backendUrl
|
backendUrl
|
||||||
|
|||||||
Reference in New Issue
Block a user