Skip to content

Commit 69868e1

Browse files
committed
[fix] GitHub copilot compatibility of Personal Access Token
1 parent 22f018b commit 69868e1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

models/configuration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ export const LARK_API_HOST = `${API_Host}/api/Lark/`;
2020

2121
export const ProxyBaseURL = 'https://bazaar.fcc-cd.dev/proxy';
2222

23-
export const GithubToken =
24-
(globalThis.document && parseCookie().token) || process.env.GITHUB_TOKEN;
23+
export const GithubToken = (globalThis.document && parseCookie().token) || process.env.GH_PAT;
2524

2625
export const LarkAppMeta = {
2726
host: process.env.NEXT_PUBLIC_LARK_API_HOST,

0 commit comments

Comments
 (0)