Include credentials in requests (#721)
* feat(request manager): adds header to send cookies, and other auths with every request * refactor(.gitignore): removes local env from .gitignores
This commit is contained in:
@@ -138,7 +138,7 @@ export class GraphQLClient extends BaseClient<
|
||||
}
|
||||
|
||||
private createUploadLink() {
|
||||
return createUploadLink({ uri: () => this.getBaseUrl() });
|
||||
return createUploadLink({ uri: () => this.getBaseUrl(), credentials: 'include' });
|
||||
}
|
||||
|
||||
private createWSLink() {
|
||||
|
||||
Reference in New Issue
Block a user