mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix: user-agent
This commit is contained in:
parent
8ce7d58e6d
commit
006cb5b36d
@ -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…
x
Reference in New Issue
Block a user