diff --git a/app/Http/Controllers/Web/Nasa/V1/GithubArticleGithubController.php b/app/Http/Controllers/Web/Nasa/V1/GithubArticleGithubController.php index 7e1acb45..0b4bc1fc 100644 --- a/app/Http/Controllers/Web/Nasa/V1/GithubArticleGithubController.php +++ b/app/Http/Controllers/Web/Nasa/V1/GithubArticleGithubController.php @@ -22,7 +22,7 @@ class GithubArticleGithubController extends ListController public function __construct() { - $this->sSiteWww = config("path.url_master_base") ?? ''; + $this->sSiteWww = config("path.url_github_base") ?? ''; } public function index(NasaQueryRequest $oRequest) diff --git a/config/path.php b/config/path.php index 77fe4ff3..4c07ed64 100755 --- a/config/path.php +++ b/config/path.php @@ -3,6 +3,7 @@ return [ "url_nodehub_base" => env("url_nodehub_base"), "url_master_base" => env("url_master_base"), + "url_github_base" => env("url_github_base"), "url_ship_fu_base" => env("url_ship_fu_base"), "url_resource_base" => env("url_resource_base"), ];