http and web socket server in the same bot#21
Conversation
Conflicts: accidentalbot.js webclient/showbot.html
Merges with recent changes, updates package.json, and adds jQuery and moment
|
👎 I don't think this is necessary or desired. At least for this bot, the front-end is going to live on another service (caseyliss.com, or eventually atp.fm on Squarespace). There's no benefit to having a web server in-process. |
|
I see your point. However, even if Casey doesn't use it in this way (and I think he said he was considering it until he ran into the port limitation), he was hopeful this bot it might be used by others. I could imagine a fairly large portion of users finding this kind of self-contained configuration convenient. (As a first, I find it convenient for testing my changes on Heroku.) If we don't want the server in |
|
I can see the convenience for testing, but we're trying to harden this server and adding express opens up exploit avenues instead of reducing them. |
No description provided.