c-bertran / express-autoindex Goto Github PK
View Code? Open in Web Editor NEWExpress middleware producing a directory listing like Nginx, Apache or another, but just with Express
License: MIT License
Express middleware producing a directory listing like Nginx, Apache or another, but just with Express
License: MIT License
Unfortunately, a new error has appeared, this time again related to static files.
The error occurs because the express-autoindex
module waits for the client to download the file, causing the entire server to hang. An example file download takes 50129.812 ms
- during this time, the server is unable to process other requests.
Video: https://cdn.sefinek.net/static/23.07.2023/explorer_WSW3JMRxU5zI.mp4
Thank you @c-bertran for your effort put into fixing this. I really appreciate it and thank you. Error 500 has been fixed, but unfortunately, a few new errors have appeared now.
express-autoindex@^1.3.0
version, the character encoding for static files has stopped working correctly.
test.txt file encoding: UTF-8 without BOM
/xxx/yyy/zzz/generated
do not work with express-autoindex
, even though they are correctly served statically.Thank you also for adding the customTemplate
option! There is no other npm module like yours, so I plan to use it anyway - even if it doesn't work perfectly 100%.
Originally posted by @sefinek24 in #1 (comment)
I receive sometimes an error:
0|blocklist | 05:44:27.847 15.07.2023: Error: Not Found
0|blocklist | at n.error (/home/ubuntu/node/www/Sefinek-Blocklist-Collection/node_modules/express-autoindex/dist/index.cjs.js:1:1793)
0|blocklist | at /home/ubuntu/node/www/Sefinek-Blocklist-Collection/node_modules/express-autoindex/dist/index.cjs.js:1:2327
can it be fixed? Please
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.