You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serverpod's web server, Relic, supports hosting static files through the RouteStaticDirectory. It currently has limited functionality and is a bit fiddly and difficult to understand how to configure. We can improve the interface and take inspiration from shelf_static, who seems to have done a better job at handling MIME types, listing directories, etc. We can move code from shelf_static to serverpod_relic_helpers as needed.
RouteStaticDirectory can have the following constructor. It will serve files from the provided directory but place them under the path specified by the Router (see #2489).
Activity