Adapt CI/CD and endpoint defaults for Sinbad2 production.
Configure GitLab deploy pipeline for this app and switch backend/frontend endpoint defaults from localhost to sinbad2.ujaen.es, including Docker, env files, API client, CORS, and docs.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import axios from "axios";
|
||||
|
||||
export const API_URL =
|
||||
import.meta.env.VITE_API_URL?.replace(/\/$/, "") || "http://localhost:8074";
|
||||
import.meta.env.VITE_API_URL?.replace(/\/$/, "") || "http://sinbad2.ujaen.es:8074";
|
||||
|
||||
const TOKEN_KEY = "genex_token";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user