Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Root dir has trailing slash if indexfile is in root #110

Open
Assignees
Labels
Milestone
@tyzoid

Description

If attempting to configure an API prefix while the api handler file is in the webroot, the api prefix will fail to be removed from the request path, since the root will be set to '/'.

thus, getPath should add a leading slash before attempting to trim out rootPath.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /