docs: add upage usage instructions document

This commit is contained in:
LIlGG
2025-09-26 18:49:06 +08:00
parent 2dd64bc065
commit f4d6e383ce
12 changed files with 273 additions and 102 deletions

View File

@@ -86,7 +86,7 @@ export const gitInfoLoader: LoaderFunction = async ({
if (action === 'getUser' || action === 'getRepos' || action === 'getOrgs' || action === 'getActivity') {
// Use server-side token instead of client-side token
const serverGithubToken = process.env.GITHUB_ACCESS_TOKEN || context.env?.GITHUB_ACCESS_TOKEN;
const serverGithubToken = context.env?.GITHUB_ACCESS_TOKEN;
const cookieToken = request.headers
.get('Cookie')
?.split(';')