clove/pkviewer
deploy/web/run
#!/bin/sh
# deploy/web/run
# MIT — (c) Doughmination System®
exec 2>&1
. /srv/clove/pkviewer/deploy/env.sh
# SvelteKit's node adapter reads HOST and PORT
export PORT="$WEB_PORT"
# Where the web tier reaches the API
export INTERNAL_API_ORIGIN="http://$HOST:$API_PORT"
exec chpst -u clove /usr/bin/deno task start-web