gofr icon indicating copy to clipboard operation
gofr copied to clipboard

Support for serving static files

Open vikash opened this issue 1 year ago • 1 comments
trafficstars

vikash avatar Apr 18 '24 12:04 vikash

How should the API look like? I'm thinking of something like this:

app.AddStaticFiles("/static", "./static")

interrrp avatar Apr 30 '24 12:04 interrrp

We can follow a convention also. If a public folder is present, files in that folder can be accessed by the server.

vikash avatar May 21 '24 06:05 vikash

Can I try to work on this?

KedarisettiSreeVamsi avatar May 30 '24 18:05 KedarisettiSreeVamsi