mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Implement getServerListeningConfig plugin helper
This commit is contained in:
parent
518c5cc62d
commit
60bab7b540
4 changed files with 25 additions and 0 deletions
|
@ -209,6 +209,10 @@ function buildConfigHelpers () {
|
|||
return WEBSERVER.URL
|
||||
},
|
||||
|
||||
getServerListeningConfig () {
|
||||
return { hostname: CONFIG.LISTEN.HOSTNAME, port: CONFIG.LISTEN.PORT }
|
||||
},
|
||||
|
||||
getServerConfig () {
|
||||
return ServerConfigManager.Instance.getServerConfig()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue