Prefill Glitch app name as GitHub app name for app manifests (#742)

* Use Glitch app name as GitHub app name for app manifests
This commit is contained in:
Kunall Banerjee 2018-12-10 06:03:46 -05:00 committed by Wilhelm Klopp
parent 3b3e555f8b
commit 4a5b8619c0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export class ManifestCreation {
hook_attributes: {
url: process.env.WEBHOOK_PROXY_URL || `${baseUrl}/`
},
name: manifest.name || pkg.name,
name: process.env.PROJECT_DOMAIN || manifest.name || pkg.name,
public: manifest.public || true,
redirect_url: `${baseUrl}/probot/setup`,
// TODO: add setup url