Testing
Some checks are pending
NodBot Production Dockerization / build (pull_request) Has started running

This commit is contained in:
Skylar Grant 2023-08-10 22:41:59 -04:00
parent 241679cc7f
commit c0c719f7bf
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ WORKDIR /usr/src/app
COPY package.json ./ COPY package.json ./
RUN npm install RUN npm install
COPY . . COPY . .
CMD ["/bin/sh", "-c", "node main.js 2> /logs/nodbot.error 1> /logs/nodbot.log"] CMD ["/bin/sh", "-c", "node main.js 2> /logs/$(date +%Y-%m-%d_%H-%M-%S)-error.txt 1> /logs/$(date +%Y-%m-%d_%H-%M-%S)-status.txt"]

View File

@ -672,7 +672,7 @@ const functions = {
return errorId; return errorId;
}, },
async sendHeartbeat(url) { async sendHeartbeat(url) {
console.log(url); if (isDev) console.log("Heartbeat Sent: " + url);
https.get(url, async (response) => { https.get(url, async (response) => {
let data = ''; let data = '';