mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
feat(tauri): add user-agent, referer, and origin properties to HTTP payload
This commit is contained in:
1 file changed
+3
@@ -51,6 +51,9 @@ export class TauriService extends DataService {
|
||||
path: (payload as any).mpvPlayerPath || '',
|
||||
title: (payload as any).title ?? '',
|
||||
thumbnail: (payload as any).thumbnail ?? '',
|
||||
userAgent: (payload as any).http?.['user-agent'] ?? '',
|
||||
referer: (payload as any).http?.referrer ?? '',
|
||||
origin: (payload as any).http?.origin ?? '',
|
||||
}).catch((error) => {
|
||||
window.postMessage({
|
||||
type: ERROR,
|
||||
|
||||
Reference in new issue
Block a user