Comments (3)
My own tests using a favicon work fine. <link rel="icon" href="icon.png">
fetches relative to the HTML page, which works on servefolder.dev.
I guess some origin-relative paths like /icon.png
won't work. But I don't think there's a good solution to that case. The folder picker page needs to be somewhere, and the origin root seems to make sense; pages can be designed to use relative URLs which will work; and it's hard to see how multiple hosts could be supported that way. I've added a new descriptive section on limitations which covers that, so I think that's all to be done about this for now.
from servefolder.dev.
The host prefix shouldn't prevent serving an HTML file that refers to other files with relative paths. What do you mean by that? What is actually not working?
from servefolder.dev.
Sorry for the late response, not sure, if it's my incorrect understanding:
- use servefolder.dev to browse foo/ with index.html and fav.png picture
- the URL of index.html will go to servefolder.dev/host/index.html
- the fav.png ref in index.html(hugo ssg site/page) is somehow actually servefolder.dev/fav.png instead of servefolder.dev/host/fav.png, thus it's broken.
Thanks.
from servefolder.dev.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servefolder.dev.