Prevent indexing session directory

This commit is contained in:
printempw 2018-08-08 00:41:48 +08:00
parent 1da1388079
commit 395670dd60
3 changed files with 3 additions and 1 deletions

View File

@ -238,7 +238,8 @@ function clearCache() {
'storage/yaml-translation/*',
'storage/framework/cache/*',
'storage/framework/sessions/*',
'storage/framework/views/*'
'storage/framework/views/*',
'!storage/framework/sessions/index.html'
]);
}

View File

@ -1,2 +1,3 @@
*
!.gitignore
!index.html

View File