Merge branch 'peon' of ssh://bitbucket.org/yackob03/quay into peon
This commit is contained in:
commit
de044e9d5f
1 changed files with 5 additions and 3 deletions
|
@ -36,9 +36,11 @@ from endpoints.api.repository import RepositoryList, RepositoryVisibility, Repos
|
|||
from endpoints.api.permission import (RepositoryUserPermission, RepositoryTeamPermission,
|
||||
RepositoryTeamPermissionList, RepositoryUserPermissionList)
|
||||
|
||||
|
||||
app.register_blueprint(api_bp, url_prefix='/api')
|
||||
|
||||
try:
|
||||
app.register_blueprint(api_bp, url_prefix='/api')
|
||||
except ValueError:
|
||||
# This blueprint was already registered
|
||||
pass
|
||||
|
||||
CSRF_TOKEN_KEY = '_csrf_token'
|
||||
CSRF_TOKEN = '123csrfforme'
|
||||
|
|
Reference in a new issue