fix auth header
This commit is contained in:
parent
207c0e8299
commit
3e44df923f
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@
|
||||||
try {
|
try {
|
||||||
const response = await fetch('/health', {
|
const response = await fetch('/health', {
|
||||||
headers: {
|
headers: {
|
||||||
'Authorization': `Bearer ${localStorage.getItem('apiKey')}`
|
'X-API-Key': `${localStorage.getItem('apiKey')}`
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue