#2 fix(Environment): move django url to vite.config.mjs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class DjangoApi {
|
||||
constructor() {
|
||||
this.base = 'http://localhost:7000';
|
||||
this.base = process.env.DJANGO_BASE_URL;
|
||||
}
|
||||
|
||||
getCustomers() {
|
||||
|
||||
Reference in New Issue
Block a user