Compare commits

...

2 Commits

Author SHA1 Message Date
6088ab2741 minor changes 2023-07-27 21:41:18 +02:00
20f277fb32 added initial rewrite rule 2023-07-27 21:36:19 +02:00
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
rewrite ^/helloworld$ /helloworld/ permanent;
location __PATH__/ { location __PATH__/ {
# Path to source
alias __INSTALL_DIR__/; alias __INSTALL_DIR__/;
index index.html; index index.html;
# Include SSOWAT user panel
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }

View File

@ -5,7 +5,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Setting up source files…" --weight=2 ynh_script_progression --message="Setting up source files…" --weight=1
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"