config(Deploy): use environment to config api server.

This commit is contained in:
2025-04-04 18:28:10 -05:00
parent 8a855be105
commit 459a028891
4 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
class DjangoApi {
constructor() {
this.base = process.env.DJANGO_BASE_URL;
this.base = import.meta.env.VITE_DJANGO_BASE_URL;
}
getCustomers() {