Skip to content

Conversation

@safinn
Copy link

@safinn safinn commented Mar 16, 2025

Description

  • Only adds paths if they are truthy.
  • Joins the paths with / and only if it's not empty, a / prefix is added so it is correct when joined with the siteUrl.

Related Issue(s)

Resolves #8

Testing

Added some tests. Please help with any further cases. Not familar with enhanced remix flat routes package and only the built in functionality.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extra slashes in URLs when using remix-flat-routes

1 participant