Merge pull request #1673 from coreos-inc/build-logs-requires-cors
Add missing requires_cors to build log archive URL
This commit is contained in:
commit
7ca0ba882c
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ class RepositoryBuildLogs(RepositoryParamResource):
|
|||
# If the logs have been archived, just return a URL of the completed archive
|
||||
if build.logs_archived:
|
||||
return {
|
||||
'logs_url': log_archive.get_file_url(build.uuid)
|
||||
'logs_url': log_archive.get_file_url(build.uuid, requires_cors=True)
|
||||
}
|
||||
|
||||
start = int(request.args.get('start', 0))
|
||||
|
|
Reference in a new issue