diff --git a/endpoints/api/build.py b/endpoints/api/build.py index e43c253d5..95e9f4607 100644 --- a/endpoints/api/build.py +++ b/endpoints/api/build.py @@ -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))