Skip to content

Commit 9d153ab

Browse files
heroku deployment
1 parent 07fd2cb commit 9d153ab

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ rainbowSDK.start();
5454
let PORT = process.env.PORT || 8080
5555

5656
// for localhost deployment: use self-issued ssh found in config.js
57-
https.createServer({ key: config.key, cert: config.cert }, app).listen(PORT, () => {
58-
console.log(`App listening on port ${PORT}! Go to https://localhost:${PORT}/`);
59-
});
57+
// https.createServer({ key: config.key, cert: config.cert }, app).listen(PORT, () => {
58+
// console.log(`App listening on port ${PORT}! Go to https://localhost:${PORT}/`);
59+
// });
6060

6161
// for heroku deployment: ssl certificate for https is managed by heroku's Auto Cert Management
62-
// app.listen(PORT, () => console.log(`Listening to port: ${PORT}...`));
62+
app.listen(PORT, () => console.log(`Listening to port: ${PORT}...`));
6363

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

views/assets/scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ function getSupport(e) {
3737
tags.addEventListener("click", selectTag);
3838
buttons.forEach(button => {
3939
button.addEventListener("click", getSupport);
40-
});
40+
});

0 commit comments

Comments
 (0)