Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions