Skip to content

Commit 82700ec

Browse files
mvdbeeknsoranzo
andauthored
Build tus prefix inline
Co-authored-by: Nicola Soranzo <[email protected]>
1 parent e8ed8ce commit 82700ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/galaxy/webapps/galaxy/fast_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ def get_openapi_schema() -> dict[str, Any]:
170170
def include_tus(app: FastAPI, gx_app):
171171
config = gx_app.config
172172
root_path = "" if config.galaxy_url_prefix == "/" else config.galaxy_url_prefix
173-
prefix = urljoin(root_path, "api/upload/resumable_upload")
174173
upload_tus_router = create_tus_router(
175-
prefix=prefix,
174+
prefix=urljoin(root_path, "api/upload/resumable_upload"),
176175
files_dir=config.tus_upload_store or config.new_file_path,
177176
max_size=config.maximum_upload_file_size,
178177
)

0 commit comments

Comments
 (0)