Skip to content

Add middleware to remove trailing slash#320

Closed
keiranjprice101 wants to merge 16 commits intomainfrom
add_root_path
Closed

Add middleware to remove trailing slash#320
keiranjprice101 wants to merge 16 commits intomainfrom
add_root_path

Conversation

@keiranjprice101
Copy link
Collaborator

@keiranjprice101 keiranjprice101 commented Mar 3, 2026

Due to h5grove being updated. There was a breaking change which changed every single grove route to no longer include the trailing /. However, the h5web components still expect this to exist.

This adds a middleware to strip the trailing slash to allow the experiment viewers to still function in the meantime.

I have also added the filter to remove the health endpoints from the logging.

@keiranjprice101
Copy link
Collaborator Author

Replaced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant