fix(cli): use str instead of ints in serve

This commit is contained in:
Benex254
2024-10-06 01:15:05 +03:00
parent 212f2af39c
commit 6b9b5c131c

View File

@@ -14,7 +14,7 @@ fastanime serve --host 127.0.0.1 --port 8080
""",
)
@click.option("--host", "-H", help="Specify the host to run the server on")
@click.option("--port", "-p", help="Check for the latest release", type=int)
@click.option("--port", "-p", help="Specify the port to run the server on")
def serve(host, port):
import os
import sys