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

Root-relative URLs in include functions go to computer root rather than project root #4

Open
Narotiza opened this issue Nov 26, 2024 · 1 comment

Comments

@Narotiza
Copy link

e.g. a file containing <%- include('/.includes/test.ejs') %> will try to load C:\.includes\test.ejs instead of (src directory)\.includes\test.ejs, which i feel would make much more sense.

i'm on Windows & i believe i'm using phanto-gui 0.6.0

@Osmose
Copy link
Owner

Osmose commented Nov 26, 2024

Thanks for the issue! I think this makes sense, will try to get to adding it when I can.

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