fix(webui): preserve reverse proxy authentication
Prevent login loops when the WebUI is protected by HTTP authentication at a reverse proxy. Apply the fix to settings, uploads, and live streams while retaining compatibility with existing WebUI clients. Fixes #523
This commit is contained in:
13 files changed
+244
-56
No files matched your search
@@ -32,7 +32,7 @@ describe('API client full TRACE export', () => {
|
||||
expect(fetchMock).toHaveBeenCalledExactlyOnceWith(
|
||||
'/api/logs/export/trace',
|
||||
expect.objectContaining({
|
||||
headers: { Authorization: 'Bearer trace-token' },
|
||||
headers: new Headers({ 'X-SnowLuma-Token': 'trace-token' }),
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user