mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Make listening port configurable (#95)
Co-authored-by: 3nprob <3nprob@3nprob>
This commit is contained in:
parent
b28356d0ed
commit
aed1da4aae
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class ServerLauncher extends MultithreadedHttpServerLauncher {
|
|||
Config config() {
|
||||
return Config.create()
|
||||
.with("http.listenAddresses",
|
||||
Config.ofValue(ofInetSocketAddress(), new InetSocketAddress(PORT)))
|
||||
Config.ofValue(ofInetSocketAddress(), new InetSocketAddress(Constants.PORT)))
|
||||
.with("workers", Constants.HTTP_WORKERS);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue