From 8053d3521b481872711dabaaf265d08b9bfbaa87 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Mon, 12 Oct 2020 16:20:04 +0000 Subject: [PATCH] fix: add public/media folder to castopod bundle ignore all contents of media folder except index.html file in .gitignore fixes #52 --- .gitignore | 5 +++++ public/media/index.html | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 public/media/index.html diff --git a/.gitignore b/.gitignore index 2782f677..df83b61e 100644 --- a/.gitignore +++ b/.gitignore @@ -134,11 +134,16 @@ node_modules # public folder public/* +!public/media !public/.htaccess !public/favicon.ico !public/index.php !public/robots.txt +# public media folder +public/media/* +!public/media/index.html + #------------------------- # Docker volumes #------------------------- diff --git a/public/media/index.html b/public/media/index.html new file mode 100644 index 00000000..eebf8ecb --- /dev/null +++ b/public/media/index.html @@ -0,0 +1,9 @@ + + + + 403 Forbidden + + +

Directory access is forbidden.

+ +