Skip to content

Extra slashes in URLs when using remix-flat-routes #8

@lpsinger

Description

@lpsinger
          This works, however, I am using [Remix flat routes](https://github.com/kiliman/remix-flat-routes), and the generated urls in the sitemap will have extra slashes, e.g. `https://abc.com///xyz`. 

I believe this library is assuming that folders like _test+ is a path, when it is not.

Is there a way to remove these? Maybe use a regex to condense any repeated slashes (/) into a single slash?

Originally posted by @684efs3 in #7 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions