Fixed plugins not being able to be loaded.

This commit is contained in:
SamTV12345 2024-03-13 22:32:41 +01:00
parent 0ce10f0e39
commit a1286cd103
3 changed files with 36 additions and 5 deletions

View file

@ -29,6 +29,14 @@ fi
# Prepare the environment
bin/installDeps.sh "$@" || exit 1
## Create the admin ui
if [ -z "$NODE_ENV" ] || [ "$NODE_ENV" = "development" ]; then
log "Creating the admin UI..."
(cd ../admin && pnpm run build)
else
log "Cannot create the admin UI in production mode"
fi
# Move to the node folder and start
log "Starting Etherpad..."