mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-22 23:51:02 +00:00
fix: enable external auth by using a different header (#87)
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
89d4d828b9
commit
e370fbe500
3 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ export async function fetchURL (url, opts) {
|
|||
|
||||
const res = await fetch(`${baseURL}${url}`, {
|
||||
headers: {
|
||||
'Authorization': `Bearer ${store.state.jwt}`,
|
||||
'X-Auth': store.state.jwt,
|
||||
...headers
|
||||
},
|
||||
...rest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue