Base solution for your next web application
Open Closed

why do we need cookie on appconfig.json file? #6039


User avatar
0
vladsd created

config file is static on the server, why does framework passes cookie via custom header, see code below. Can it be removed?

private static getApplicationConfig(appRootUrl: string, callback: () => void) { let type = 'GET'; let url = appRootUrl + 'assets/' + environment.appConfig; let customHeaders = [ { name: 'Abp.TenantId', value: abp.multiTenancy.getTenantIdCookie() + '' }];


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    it seems it can be remove.