Skip to content

Solution to ignore the URI query #120

@jezreel8858

Description

@jezreel8858

add in package.json "url-parse" and "patch-package".
add on the first line of the function getPath:

let parsedUrl = new URL(uri, null, true)
parsedUrl.set('query', {})
uri = parsedUrl.toString()

remember to import at the beginning:
const URL = require('url-parse');

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