diff --git a/docker-compose.yml b/docker-compose.yml index 785e10d..b3ea0c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -66,10 +66,10 @@ services: - "traefik.http.routers.mlmodelscope-uploader.entrypoints=websecure" - "traefik.http.routers.mlmodelscope-uploader.tls.certresolver=letsencrypt" - "traefik.http.services.mlmodelscope-uploader.loadbalancer.server.port=80" - - "traefik.http.middlewares.add-cors-uploader.headers.accessControlAllowMethods=GET,OPTIONS,PUT" + - "traefik.http.middlewares.add-cors-uploader.headers.accessControlAllowMethods=GET,OPTIONS,PUT,PATCH" - "traefik.http.middlewares.add-cors-uploader.headers.accesscontrolalloworiginlist=https://staging.mlmodelscope.org" - "traefik.http.middlewares.add-cors-uploader.headers.accessControlAllowCredentials=true" - - "traefik.http.middlewares.add-cors-uploader.headers.accessControlAllowHeaders=origin,x-requested-with,content-type,accept,x-request-id" + - "traefik.http.middlewares.add-cors-uploader.headers.accessControlAllowHeaders=origin,x-requested-with,content-type,accept,x-request-id,tus-resumable,upload-length,upload-metadata,upload-offset" - "traefik.http.middlewares.add-cors-uploader.headers.accesscontrolmaxage=100" - "traefik.http.middlewares.add-cors-uploader.headers.addvaryheader=true" - "traefik.http.routers.mlmodelscope-uploader.middlewares=add-cors-uploader"