mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
8fef0f473e
@ -75,7 +75,7 @@ export class APIClient extends APIClientSDK {
|
|||||||
|
|
||||||
getHeaders() {
|
getHeaders() {
|
||||||
const headers = super.getHeaders();
|
const headers = super.getHeaders();
|
||||||
const appName = this.app.getName();
|
const appName = this.app?.getName();
|
||||||
if (appName) {
|
if (appName) {
|
||||||
headers['X-App'] = appName;
|
headers['X-App'] = appName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user