Hi all
I have following configuration on Plug.Static:
plug Plug.Static,
at: "/", from: :customer, gzip: false,
only: ~w(css ui5)
How can I provide /priv/static/*
folder with subfolders? With ./*
?
Thanks
Hi all
I have following configuration on Plug.Static:
plug Plug.Static,
at: "/", from: :customer, gzip: false,
only: ~w(css ui5)
How can I provide /priv/static/*
folder with subfolders? With ./*
?
Thanks
The only:
configuration only needs to list the first-level, the parent directories. So if you have want to serve “css” with subfolders, such as “css/a” and “css/b”, simply adding “css” is enough.
I’ve got it, I am so stupid. Thanks jose.
this should be added to the static plug docs.