Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flat files folders, support for windows #27

Closed
t19n opened this issue Dec 19, 2022 · 2 comments
Closed

Flat files folders, support for windows #27

t19n opened this issue Dec 19, 2022 · 2 comments

Comments

@t19n
Copy link

t19n commented Dec 19, 2022

Hi,
found out that the nested folders with flat files does not work on windows.
example:

└── users+
    ├─ $userId.tsx

on linux you would get auth+/$userId.tsx but on windows you get auth+\$userId.tsx,
seems to be that routeRegex in defaultOptions is not correct, at least does not support win backslashes .

Regards, Thorsteinn

@kiliman
Copy link
Owner

kiliman commented Dec 19, 2022

Thanks for the bug report. I'll get that fixed!

@kiliman
Copy link
Owner

kiliman commented Dec 20, 2022

Fixed in v0.5.2

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

No branches or pull requests

2 participants