#2 fix(Environment): move django url to vite.config.mjs

This commit is contained in:
2025-03-02 00:45:11 -05:00
parent d50ff7e1e7
commit 2e4aef00c4
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
class DjangoApi {
constructor() {
this.base = 'http://localhost:7000';
this.base = process.env.DJANGO_BASE_URL;
}
getCustomers() {