From 9d952483f250a97cbeab4061fa1c4e68341b330f Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 28 Aug 2022 23:22:15 +0300 Subject: posting thread and image works --- run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index dcb7dd5..b10db49 100755 --- a/run.sh +++ b/run.sh @@ -1,11 +1,11 @@ #!/bin/sh +cd ${0%/*} # go to project root set -xe -NODE_TLS_REJECT_UNAUTHORIZED=0 npm run dev +# NODE_TLS_REJECT_UNAUTHORIZED=0 npm run dev -- --host -# npm run build - -# NODE_TLS_REJECT_UNAUTHORIZED=0 node server.mjs +npm run build +NODE_TLS_REJECT_UNAUTHORIZED=0 node server.mjs # deno run --allow-net --allow-read --allow-env --unsafely-ignore-certificate-errors=localhost ./dist/server/entry.mjs -- cgit v1.2.3