Comments (7)
Most browsers seem to remember mime type and just stick with even if it was changed on the server.
Instead of removing all mime types, add all the needed instead.
from hfs.
thanks for reporting!
there are several problems here.
I'll let you know soon
from hfs.
203 exit code is by systemd.
If it can't run as a service, I would try running it normally to see that it runs. npx hfs@latest
If you cannot run 0.46, I need to know what error is displayed. If you cannot see it as a service, run it normally. It's important that you can run the latest, otherwise how will I give you the next update...
The mime editor was malfunctioning. I made a new one for next release (that I will publish soon).
It's not clear how you configured your mime types. Please attach a screenshot, or the equivalent part of config.yaml.
The first mime row that match the files will win, so the "*" rule should be the last.
from hfs.
https://github.com/rejetto/hfs/releases/tag/v0.47.0-beta7
in this release i fixed 2 bugs
- the mime editor was unusable
- changing order of entries was not considered as a change, and you were not asked to save
i also added a warning for the user, to have the "*" (if any) as last rule
That said, I tested the problem you said, but I wasn't able to reproduce it. This configuration is working correctly for me
This is my result with a jpeg and an m3u file
I don't know what's going wrong on your machine, but you should first be able to update, so let's work on that.
from hfs.
sorry for the super late response
I wasnt aware I could run the new versions still the regular way. It did run with error, so I tried the instruction by you and had that running as service step.
This 0.47.1 version actually does run with a regular start now.
And the best thing is:
This version fixed the problem entirely!
html isnt a download anymore and .m3u is forced now to be a download.
Thank you so much for fixing this issue!
from hfs.
cool!
Are you able to run it as a service now?
from hfs.
I didnt try. I'm fine with it being a process
from hfs.
Related Issues (20)
- If it's possible to add "copy / link" in addition to "cut"? HOT 7
- Folder structure gets messed up on drag&drop upload HOT 2
- Files with a # symbol, characters removed after the #. HOT 1
- A deb for arm64 HOT 1
- Please make the pagination view configurable (if possible) HOT 5
- Translation to Turkish language HOT 1
- Download privilege escape with plugins HOT 3
- Translation to Turkish language
- Translation to Thai language HOT 2
- Will HFS add the reverse proxy feature? HOT 3
- Chat plugin HOT 1
- Will support for running PHP and asp.Net systems be added in the future? HOT 1
- Failed to start HFS code=exited HOT 5
- Cloudflare upload file size 100mb HOT 12
- Translation to Ukrainian language HOT 1
- Each file can be described individually and photos can be transferred for preview HOT 6
- Enable mixed-content requests HOT 7
- Docker Support HOT 4
- Hungarian language json file update HOT 1
- Temporary upload-file causing filesystem and service-related issue HOT 1
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 hfs.