I'm setting up some routing to static assets. I essentially have a buckets file structure with IDs in the path. Is there a way to use variables in the paths. For instance,
plug Plug.Static,
at: "/public/:id/:bid",
from: {:baspia, "priv/public/:id/bundles/:bid.json"}
Top comments (0)