mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: user-agent
This commit is contained in:
parent
8ce7d58e6d
commit
006cb5b36d
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ import { query } from "@solidjs/router"
|
|||
export const github = query(async () => {
|
||||
"use server"
|
||||
const headers = {
|
||||
UserAgent:
|
||||
"User-Agent":
|
||||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
|
||||
}
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue