temp
This commit is contained in:
@@ -5,18 +5,6 @@ const config = getConfig();
|
||||
export const baseURL = config?.baseURL || 'https://kevisual.cn';
|
||||
export { storage };
|
||||
export const getBaseURL = () => {
|
||||
if (typeof config?.dev === 'undefined') {
|
||||
return baseURL;
|
||||
}
|
||||
if (typeof config?.dev === 'string') {
|
||||
if (config?.dev === 'true') {
|
||||
return 'http://localhost:4002';
|
||||
}
|
||||
return baseURL;
|
||||
}
|
||||
if (config?.dev === true) {
|
||||
return 'http://localhost:4002';
|
||||
}
|
||||
return baseURL;
|
||||
};
|
||||
export const query = new Query({
|
||||
|
||||
Reference in New Issue
Block a user