Skip to content

Error with IPNS paths with ending slash #4

Open
@lumenpink

Description

@lumenpink

Hi!

I found a little Bug in this implementation when the URL have a trailing slash

The script enters in this IF and treats the answer like a directory and not a file. I tested locking it as always false and it runs OK.

if (pathname.endsWith('/')) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions