Change API_BASE to use process.env instead of meta.env

This commit is contained in:
Charmunk 2025-11-02 16:27:07 -05:00 committed by GitHub
parent ee4abde45a
commit 504d972375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',
};
};