Skip to content

Commit

Permalink
remove Azure Function cruft, add always-on functin
Browse files Browse the repository at this point in the history
  • Loading branch information
tblanarik committed Nov 11, 2024
1 parent abdad35 commit e3e29fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 80 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/main_hamalertspotbot.yml

This file was deleted.

7 changes: 7 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ def run():
else:
return make_response("Accepted", 202)

'''
Empty endpoint used for keeping the container on and loaded
'''
@app.route('/', methods=["GET"])
def always_on():
return make_response("OK", 200)

if __name__ == "__main__":
app.run()
7 changes: 0 additions & 7 deletions host.json

This file was deleted.

0 comments on commit e3e29fb

Please sign in to comment.