Can't upload only a single folder in static to S3 - anyone?
kingkong-cmd opened this issue · 0 comments
kingkong-cmd commented
Hi,
When I upload to S3 by using flask_s3.create_all(app)
, I sometimes want to limit it to only the tailwind css. According to the docs, the filepath_filter_regex
variable is supposed to accommodate that. In my static
folder I have a gen_tailwind
folder, so I would think that using flask_s3.create_all(app,filepath_filter_regex=r'^gen_tailwind')
would upload only this folder. However, when I run it, nothing happens, and it doesn't give any return message.
Anyone know what I am doing wrong?