Skip to content

please expand on rewrite function purpose #6

@mcshaz

Description

@mcshaz

Thank you for writing this. Ideally there would be discussions open on this repo.

Can I please ask what the point of the line of code: rewrite: (path) => path.replace(/^\/api/, '/api') - i.e rewrite to repace the same string as the one searched for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions