INNER CODE UNIT · Python
main
shuvonsec/claude-bug-bounty · demo/app.py:260
def main() -> int:
_banner()
print(f" Serving on http://{HOST}:{PORT} (Ctrl+C to stop)\n")
httpd = ThreadingHTTPServer((HOST, PORT), DemoHandler)
try:
httpd.serve_forever()
except KeyboardInterrupt:
print("\n bye")
httpd.shutdown()
return 0
if __name__ == "__main__":
sys.exit(main())