fix auth header
This commit is contained in:
@@ -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')}`
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user