mirror of
https://github.com/YunoHost-Apps/elabftw_ynh.git
synced 2024-09-03 18:26:23 +02:00
Fix path
This commit is contained in:
parent
64ef48645e
commit
459d63b487
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
location / {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/web;
|
||||
alias __FINALPATH__/web/;
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
|
@ -10,7 +10,7 @@ location / {
|
|||
|
||||
index index.php;
|
||||
|
||||
try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string;
|
||||
try_files $uri $uri/ __PATH__/index.php?$query_string;
|
||||
|
||||
location ~ \.php$ {
|
||||
if (!-e $request_filename) {
|
||||
|
|
|
@ -130,7 +130,6 @@ pushd "$final_path"
|
|||
ynh_script_progression --message="Yarn install..."
|
||||
npm install brotli
|
||||
yarn install --pure-lockfile --prod && yarn run buildall && rm -rf node_modules && yarn cache clean
|
||||
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue