Skip to content

Commit 15fb8cd

Browse files
committed
refactor: always send X-Scraper-Slug header
No need to conditionally add it — RT-CV ignores unknown headers, the app requires it.
1 parent c19f98f commit 15fb8cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export class Server {
407407
...options.headers,
408408
Accept: "application/json",
409409
Authorization: authHeader,
410-
...(this.isAppMode ? { "X-Scraper-Slug": this.slug } : {}),
410+
"X-Scraper-Slug": this.slug,
411411
},
412412
signal: controller.signal,
413413
}

0 commit comments

Comments
 (0)