Skip to content

Commit

Permalink
Merge pull request #752 from kwiatekus/handle-favicon-requests-python
Browse files Browse the repository at this point in the history
Handle /favicon.ico requests in python runtimes the same as in case of nodejs
  • Loading branch information
kwiatekus authored Feb 23, 2024
2 parents fea6822 + a5c334d commit b241c86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/runtimes/python39/kubeless/kubeless.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def func_with_context(e, function_context):
return e


@app.get('/favicon.ico')
def favicon():
return bottle.HTTPResponse(status=204)

@app.get('/healthz')
def healthz():
return 'OK'
Expand Down

0 comments on commit b241c86

Please sign in to comment.