fix
This commit is contained in:
@@ -103,8 +103,6 @@ Route::middleware(['auth'])->group(function () {
|
||||
$github_app = GithubApp::where('uuid', request()->github_app_uuid)->first();
|
||||
$settings = InstanceSettings::get();
|
||||
$name = Str::of(Str::kebab($github_app->name));
|
||||
$installation_path = $github_app->html_url === 'https://github.com' ? 'apps' : 'github-apps';
|
||||
$installation_url = "$github_app->html_url/$installation_path/$name/installations/new";
|
||||
if ($settings->public_ipv4) {
|
||||
$ipv4 = 'http://' . $settings->public_ipv4 . ':' . config('app.port');
|
||||
}
|
||||
@@ -117,7 +115,6 @@ Route::middleware(['auth'])->group(function () {
|
||||
'ipv4' => $ipv4 ?? null,
|
||||
'ipv6' => $ipv6 ?? null,
|
||||
'fqdn' => $settings->fqdn,
|
||||
'installation_url' => $installation_url,
|
||||
]);
|
||||
})->name('source.github.show');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user