-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server updates #90
Server updates #90
Conversation
I've refactored the server quite a bit to add some functionality. I'll add better deploy options (Docker, Heroku button, etc) in a follow-up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor things but overall LGTM!
examples/server/daily-bot-manager.py
Outdated
|
||
@app.route("/start/<string:text>", methods=["GET", "POST"]) | ||
def start(text): | ||
if text in APPS: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: might be easier to read (or at least less indentation) if you check if text not in APPS
and then immediately raise an exception.
* updated server readme * fixup * Refactored server * fixup
Getting the server ready for the hackathon, etc.