Comments (5)
I will filing a PR to fix the HTML issue
from binserve.
Hey @arijit79, thanks for raising this issue! This is indeed a good way to do, I will make a banner file that gets printed out with include_str!
during execution. It does seem messy inside the code, I will definitely push this change soon! ❤️🙌
from binserve.
Also, unrelated to this issue, but something related to formatting is that your files in the static folder are all in one line, you should probably format them according HTML writing styles. If you use an IDE like VSCode or Atom, they have plugins to improve the formatting of HTML
from binserve.
I just made it one-liners because it's default generated templates and short in LOC. But yes it would improve readability in format, thank you for the request, I will definitely look into this as well. 😃👍
from binserve.
Awesome @arijit79, thank you! ❤️🙌
from binserve.
Related Issues (20)
- Writing API docs HOT 5
- Feature request: optional HTTPS support with automatically generated self-signed certificate HOT 4
- Append *.html files with .hbs extension HOT 1
- An optional Minify HTML feature HOT 1
- Store config in the cache HOT 1
- Add reverse-proxy functionality
- Support for handlebars partials HOT 3
- Add some CLI flags for typical config options HOT 2
- v0.2.0 Draft HOT 1
- Simpler run configurations without config file + tls instructions HOT 3
- Configuration file should be taken as an argument
- Write a dedicated documentation page (`DOCUMENTATION.md`)
- Implement rules for static files: custom index file & exclude specific files
- Relative routes on directories served from paths other than `/` is not correctly sorted
- `TcpListener` should implement `SO_REUSEPORT`
- Dockerfile
- Include Cargo.lock in the repository HOT 1
- Custom config location HOT 1
- Windows Version throws 404
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 binserve.