diff options
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -62,6 +62,10 @@ def index():                  commits = db.get_cached_commits(since = datetime.datetime.now() - datetime.timedelta(days = 7))              ) +@app.route("/robots.txt") +def robots(): +    return flask.send_from_directory("static", "robots.txt") +  @app.route("/discord")  def discord():      with database.Database() as db: @@ -196,4 +200,4 @@ if __name__ == "__main__":          else:              app.run(host = "0.0.0.0", port = 5001, debug = True)      except IndexError: -        app.run(host = "0.0.0.0", port = 5001, debug = True)
\ No newline at end of file +        app.run(host = "0.0.0.0", port = 5001, debug = True) | 
