From ff2ad870afcfb9af100a66ac939bc0d8ffd96bc5 Mon Sep 17 00:00:00 2001 From: ljf Date: Sun, 3 Sep 2023 23:49:38 +0200 Subject: [PATCH] [fix] CI --- conf/nginx.conf | 3 ++- scripts/install | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1fdbde0..5c351ae 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,6 +6,7 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/public/; - + index index.html; + try_files $uri $uri/ index.html; gzip off; } diff --git a/scripts/install b/scripts/install index db727c4..a038530 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir/sources" mkdir $install_dir/public +# Empty html page to fix the CI +echo "ChatonsInfos" > $install_dir/public/index.html # $install_dir will automatically be initialized with some decent # permission by default ... however, you may need to recursively reapply # ownership to all files such as after the ynh_setup_source step