Update 'README.md'

This commit is contained in:
chacha 2023-04-20 14:48:55 +02:00
parent edc5651395
commit 035bac7183
1 changed files with 12 additions and 11 deletions

View File

@ -15,17 +15,18 @@ A tiny mod to allow reading server stats with REST requests.
- Edit UnrealTournament.ini and update / adapt [UWeb.WebServer] section:
[UWeb.WebServer]
Applications[0]=UTServerAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=UTServerAdmin.UTImageServer
ApplicationPaths[1]=/images
Applications[2]=ChaChaRESTStats.ChaChaRESTStats
ApplicationPaths[2]=/api/v1
DefaultApplication=0
bEnabled=True
ListenPort=<YOUR_LISTEN_PORT>
'''
[UWeb.WebServer]
Applications[0]=UTServerAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=UTServerAdmin.UTImageServer
ApplicationPaths[1]=/images
Applications[2]=ChaChaRESTStats.ChaChaRESTStats
ApplicationPaths[2]=/api/v1
DefaultApplication=0
bEnabled=True
ListenPort=<YOUR_LISTEN_PORT>
'''
## Available Resources:
__GET__ <SERVER_PREFIX>/api/v1/map_list