Remove credentials from xhr request. Add techdocs-backend changeset

This commit is contained in:
Erik Larsson
2021-03-01 12:45:18 +01:00
parent 74534a0f8c
commit 52b5bc3e27
3 changed files with 6 additions and 2 deletions
-1
View File
@@ -171,7 +171,6 @@ export class TechDocsStorageApi implements TechDocsStorage {
const request = await fetch(
`${url.endsWith('/') ? url : `${url}/`}index.html`,
{
credentials: 'include',
headers: token ? { Authorization: `Bearer ${token}` } : {},
},
);