From 85d646880e1e3fef1d9547b72c2d0107e3465d90 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 9 Dec 2019 18:11:26 -0500 Subject: Add template process to serve bash file Unfortunately, a static file can't really be used to serve the connection - the host address is needed to link back to the server. Only a light library is needed to handle the template file though, and if more are needed in the future it should be a non-trivial task to add them to the process. By default I'm configuring this to work with drone.io, since that is the CI that I personally will be using (most likely). It should be non-trivial to configure other CI to handle the script as well. --- .env.sample | 1 + 1 file changed, 1 insertion(+) (limited to '.env.sample') diff --git a/.env.sample b/.env.sample index 05eed7a..7784eac 100644 --- a/.env.sample +++ b/.env.sample @@ -1,5 +1,6 @@ PORT=3000 BIND_ADDRESS=localhost +TARGET_URL=http://localhost:3000 TOKEN= HOST_DIR=/dist UPLOAD_LIMIT=4194304 -- cgit