mirror of
https://github.com/System-End/spaces.git
synced 2026-04-20 00:35:24 +00:00
Change API_BASE to use process.env instead of meta.env
This commit is contained in:
parent
ee4abde45a
commit
504d972375
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export const API_BASE = import.meta.env.API_URL || 'http://localhost:3000/api/v1';
|
||||
export const API_BASE = import.process.env.API_URL || 'http://localhost:3000/api/v1';
|
||||
|
||||
export const ERROR_MESSAGES = {
|
||||
NETWORK_ERROR: 'Network error. Please try again.',
|
||||
|
|
@ -9,4 +9,4 @@ export const ERROR_MESSAGES = {
|
|||
START_FAILED: 'Failed to start space',
|
||||
STOP_FAILED: 'Failed to stop space',
|
||||
STATUS_FAILED: 'Failed to get status',
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue