mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-30 06:34:36 +02:00
feat: Change default port to avoid using existing port
This commit is contained in:
parent
9d7b049349
commit
9825865bbc
@ -9,5 +9,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- COMMAND=start
|
- COMMAND=start
|
||||||
ports:
|
ports:
|
||||||
- localhost:8080:8080
|
- localhost:8888:8888
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -26,7 +26,7 @@ internal object StartAPICommand : Runnable {
|
|||||||
description = ["The port to listen on."],
|
description = ["The port to listen on."],
|
||||||
showDefaultValue = CommandLine.Help.Visibility.ALWAYS,
|
showDefaultValue = CommandLine.Help.Visibility.ALWAYS,
|
||||||
)
|
)
|
||||||
private var port: Int = 8080
|
private var port: Int = 8888
|
||||||
|
|
||||||
override fun run() {
|
override fun run() {
|
||||||
embeddedServer(Jetty, port, host) {
|
embeddedServer(Jetty, port, host) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user