Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Hi @seal ,
You can use r.StaticFS("/static", filesDir) . Beacuse if you use "/", you don't get [api] file in the file system. So you can't use "/" to visit your dist floder.
Description
I want to be able to have a fileserver providing my JS files & my api on the same router
How to reproduce
Expectations
Wanted it to serve the pre-defined routes for api and anything else, js
Actual result
Environment