Solved backend problem
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 40s

This commit is contained in:
2026-05-02 16:44:24 +02:00
parent 8c230d3596
commit ee553eae82

View File

@@ -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 {
backendUrl