double echo lole
This commit is contained in:
1 parent
090fb44600
commit
12bcc0aa69
1 file changed
-5
@@ -279,11 +279,6 @@ if __name__ == "__main__":
|
|||||||
protocol_main = "https" if (ssl_context and not args.hook_ssl_only) else "http"
|
protocol_main = "https" if (ssl_context and not args.hook_ssl_only) else "http"
|
||||||
protocol_hook = "https" if ssl_context else "http"
|
protocol_hook = "https" if ssl_context else "http"
|
||||||
|
|
||||||
print(f"Starting main server on {args.host}:{args.port} ({protocol_main})")
|
|
||||||
print(
|
|
||||||
f"Starting webhook server on {args.host}:{args.hook_port} ({protocol_hook})"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Create separate app for webhook
|
# Create separate app for webhook
|
||||||
hook_app = web.Application()
|
hook_app = web.Application()
|
||||||
hook_app.router.add_post("/hook", hook_handler)
|
hook_app.router.add_post("/hook", hook_handler)
|
||||||
|
|||||||
Reference in new issue
Block a user