Skip to content

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

@tyzoid

Description

@tyzoid

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