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:
parent
cd1a2fbde6
commit
a6d4a48601
2 changed files with 4 additions and 11 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue