-
Notifications
You must be signed in to change notification settings - Fork 383
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
Windows: cannot use absolut path in layout-option of response.render #113
Closed
Labels
Comments
@Tineler Yeah, this would need to change so that it works with Windows paths and not just Unix-style ones: https://github.com/ericf/express-handlebars/blob/master/lib/express-handlebars.js#L331-333 |
Seems legit. Do you mind if I fork the repo and create a pull-request after fixing it? Because I need it pretty soon. :-) |
Tineler
added a commit
to Tineler/express-handlebars
that referenced
this issue
Mar 9, 2015
This was referenced Apr 7, 2022
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following call:
leads to following error message:
Error: ENOENT, open D:\ZHAW\BA\IoT_Base\lib\views\layouts\D:\ZHAW\BA\IoT_Base\lib\plugins\IoT_HelloWorld\views\layouts\main.handlebars'
Seems to me, as if the path is handled relative even though it's obviously absolute.
The text was updated successfully, but these errors were encountered: