Skip to content

Fix trailing slashes in the new docs #520

Open
@mtrunkat

Description

@mtrunkat

All landing pages have trailing slash, for example /api/client/js/. I think that it's fixable by replacing this rewrite:

rewrite ^/api/client/js$ /api/client/js/ redirect;

with

rewrite ^/api/client/js/$ /api/client/js redirect;
rewrite ^/api/client/js$ /api/client/js/index.html;

The user gets then redirected from trailing slash to normal, and that gets internally rewritten to index.html which should work. But I am not 100% sure that there are no downsides :) and it's low prio for now.

CC @B4nan

Metadata

Metadata

Assignees

Labels

bugSomething isn't working.documentationImprovements or additions to documentation.low priorityLow priority issues to be done eventually.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions