786579a7d8
Add Authorization Bearer header to all fetch calls (apps, stream start). Handle 401 responses by clearing token and redirecting to login. Pass stream_token from the stream start response through to the WebTransport URL as a query parameter for proxy authentication. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
112 B
TypeScript
8 lines
112 B
TypeScript
export const streamStore = $state({
|
|
Url: '',
|
|
CertHash: [0],
|
|
Width: 0,
|
|
Height: 0,
|
|
StreamToken: '',
|
|
});
|