fix: add public/media folder to castopod bundle

ignore all contents of media folder except index.html file in .gitignore

fixes #52
This commit is contained in:
Yassine Doghri 2020-10-12 16:20:04 +00:00
parent ad8b153f2a
commit 8053d3521b
2 changed files with 14 additions and 0 deletions

5
.gitignore vendored
View File

@ -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
#-------------------------

9
public/media/index.html Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>