UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server
MIT License
634 stars 53 forks source link

Add ability to set a prefix for HTTPFS #42

Closed hashworks closed 5 years ago

hashworks commented 5 years ago

This allows to limit requests to a HTTPFS with a prefix.

This is especially useful in Gin, see the attached example. Note: I have also tested this with debug: true, works as expected.