File tree Expand file tree Collapse file tree
backend/code_review_backend Expand file tree Collapse file tree Original file line number Diff line number Diff line change 212212PHABRICATOR_HOST = "https://phabricator.services.mozilla.com"
213213
214214# Limit the automatic creation of reositories to allowed hosts
215- ALLOWED_REPOSITORY_HOSTS = ["hg.mozilla.org" ]
215+ ALLOWED_REPOSITORY_HOSTS = ["hg.mozilla.org" , "github.com" ]
216216
217217DYNO = env ("DYNO" )
218218# Heroku settings override to run the web app through dyno
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class RepositoryGetOrCreateField(serializers.SlugRelatedField):
3535 )
3636 default_error_messages = {
3737 ** serializers .SlugRelatedField .default_error_messages ,
38- "invalid_url" : "Repository URL must match hg.mozilla.org ." ,
38+ "invalid_url" : "Base repository URL is not allowed ." ,
3939 }
4040 queryset = Repository .objects .all ()
4141
You can’t perform that action at this time.
0 commit comments