You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the quick fix. How do i specify my project location as the root directory? Is there a way to specify the views folder as the root directory as we render the files from express?
I have an ejs file that i'm rendering through express say hello.ejs. The views folder structure is views/site/test/hello.ejs
I have the following snippet inside the hello.ejs file
Currently this doesn't work. I can't include files from the views directory.
The current work around i see is going to the parent directory and giving the path
It'd be useful to allow include from root dir.
The text was updated successfully, but these errors were encountered: