Files
CosScene/clients/utils/config.js
T
2026-05-09 16:40:29 +08:00

12 lines
257 B
JavaScript

// #ifdef H5
const API_BASE = "/api/v1";
const SERVER_ORIGIN = window.location.origin;
// #endif
// #ifndef H5
const API_BASE = "http://10.0.10.11:8000/api/v1";
const SERVER_ORIGIN = "http://10.0.10.11:8000";
// #endif
export { API_BASE, SERVER_ORIGIN };