feat(client): vendor digital employee source
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
__SGROBOT_BASE__?: string;
|
||||
__QIMINGCLAW_DIGITAL_API_BASE__?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export const basePath = '.';
|
||||
|
||||
export const apiBase: string = (() => {
|
||||
const configured = window.__QIMINGCLAW_DIGITAL_API_BASE__?.replace(/\/+$/, '');
|
||||
return configured ?? '';
|
||||
})();
|
||||
|
||||
export const apiOrigin = (): string => '';
|
||||
Reference in New Issue
Block a user