Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
yutao8 authored Jan 16, 2024
1 parent 0a206de commit 678117d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
define('GH_TOKEN', $_SERVER['GH_TOKEN'] ?? null); //github token github_pat_xxxxx https://github.com/settings/tokens?type=beta
define('GPT_URL', $_SERVER['GPT_URL'] ?? null); //chatgpt api url
define('GPT_KEY', $_SERVER['GPT_KEY'] ?? null); //chatgpt key
$username = isset($_ENV['GITHUB_ACTOR']) ? $_ENV['GITHUB_ACTOR'] : 'yutao8';
$username = isset($_SERVER['GITHUB_ACTOR']) ? $_SERVER['GITHUB_ACTOR'] : 'yutao8';

GH_TOKEN or die('GH_TOKEN is null!');

Expand Down

0 comments on commit 678117d

Please sign in to comment.