mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 13:56:17 +00:00
feat: Change default port to avoid using existing port
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user