1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Merge pull request #319 from SirFerdek/patch-1

Fix "spinning wheel" when no README.md file in folder.
This commit is contained in:
Kayou 2020-08-01 18:59:56 +02:00 committed by GitHub
commit 37ba2c9577
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,9 @@ location ^~ __PATH__/ {
# Errors pages
error_page 403 __PATH__/core/templates/403.php;
error_page 404 __PATH__/core/templates/404.php;
# Don't set custom 404 error page, as nextcloud uses 404 codes with meaningful payload.
# Setting custom 404 page clears the payload and creates UI bugs
# error_page 404 __PATH__/core/templates/404.php;
location __PATH__/ {
rewrite ^ __PATH__/index.php;