From 8053d3521b481872711dabaaf265d08b9bfbaa87 Mon Sep 17 00:00:00 2001 From: Yassine Doghri <yassine@doghri.fr> 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 2782f677e9..df83b61efe 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 0000000000..eebf8ecb2b --- /dev/null +++ b/public/media/index.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> + <head> + <title>403 Forbidden</title> + </head> + <body> + <p>Directory access is forbidden.</p> + </body> +</html> -- GitLab