fix(core): App should not crash with a custom rest endpoint (#5911)
fixes #5880
This commit is contained in:
committed by
GitHub
parent
6689451e8c
commit
2881ee9ecc
2
packages/editor-ui/src/shims.d.ts
vendored
2
packages/editor-ui/src/shims.d.ts
vendored
@@ -11,12 +11,12 @@ declare global {
|
||||
PROD: boolean;
|
||||
NODE_ENV: 'development' | 'production';
|
||||
VUE_APP_URL_BASE_API: string;
|
||||
VUE_APP_ENDPOINT_REST?: string;
|
||||
};
|
||||
}
|
||||
|
||||
interface Window {
|
||||
BASE_PATH: string;
|
||||
REST_ENDPOINT: string;
|
||||
}
|
||||
|
||||
namespace JSX {
|
||||
|
||||
Reference in New Issue
Block a user