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 () => {
|
export const github = query(async () => {
|
||||||
"use server"
|
"use server"
|
||||||
const headers = {
|
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",
|
"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 {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue