1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

Fix linter warnings

This commit is contained in:
ericgaspar 2020-12-14 22:18:02 +01:00
parent cd1a2fbde6
commit a6d4a48601
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 11 deletions

View file

@ -49,19 +49,19 @@ location __PATH__/ {
# Cache-control # Cache-control
location ~ ^__PATH__/data/ { location ~ ^__PATH__/data/ {
more_set_headers Cache-Control public; more_set_headers 'Cache-Control: public';
expires 12h; expires 12h;
} }
location ~ ^__PATH__/core/ { location ~ ^__PATH__/core/ {
more_set_headers Cache-Control public; more_set_headers 'Cache-Control: public';
expires 12h; expires 12h;
} }
location ~ ^__PATH__/plugins/ { location ~ ^__PATH__/plugins/ {
more_set_headers Cache-Control public; more_set_headers 'Cache-Control: public';
expires 12h; expires 12h;
} }
location ~ ^__PATH__/themes/ { location ~ ^__PATH__/themes/ {
more_set_headers Cache-Control public; more_set_headers 'Cache-Control: public';
expires 12h; expires 12h;
} }

View file

@ -64,13 +64,6 @@ ynh_clean_setup () {
# Exit if an error occurs during the execution of the script # Exit if an error occurs during the execution of the script
ynh_abort_if_errors ynh_abort_if_errors
#=================================================
# CHECK THE PATH
#=================================================
# Normalize the URL path syntax
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#================================================= #=================================================
# STANDARD UPGRADE STEPS # STANDARD UPGRADE STEPS
#================================================= #=================================================