update appsettings comments

This commit is contained in:
Spirtix 2024-02-25 17:53:21 +01:00
parent 003804c7cb
commit 5ec76cdd29
2 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
"Kestrel": { "Kestrel": {
"EndPoints": { "EndPoints": {
"Http": { "Http": {
"Url": "listening url for api server - allow set listening ip address and port number -> http://ip.ip.ip.ip:port/ or http://[ip::ip]:port/" "Url": "Listening URL for the API server - allows setting the listening IP address and port number -> http://ip.ip.ip.ip:port/ or http://[ip::ip]:port/"
} }
} }
}, },

View File

@ -2,40 +2,40 @@
"Kestrel": { "Kestrel": {
"EndPoints": { "EndPoints": {
"Http": { "Http": {
"// Url": "listening url for api server - allow set listening ip address and port number -> http://ip.ip.ip.ip:port/ or http://[ip::ip]:port/", "// Url": "Listening URL for the API server - allows setting the listening IP address and port number -> http://ip.ip.ip.ip:port/ or http://[ip::ip]:port/",
"Url": "http://*:5000" "Url": "http://*:5000"
} }
} }
}, },
"AssetServer": { "AssetServer": {
"// Enabled": "set to false to disable builtin asset server", "// Enabled": "Set to false to disable the built-in asset server",
"Enabled": true, "Enabled": true,
"// ListenIP": "listening ip address for asset server, default * -> all IPv4 and IPv6 addresses", "// ListenIP": "Listening IP address for the asset server, default is '*' which represents all IPv4 and IPv6 addresses",
"ListenIP": "*", "ListenIP": "*",
"// Port": "listening port number for asset server (should be different than for serer api)", "// Port": "Listening port number for the asset server. Should be different than for the server API",
"Port": 5001, "Port": 5001,
"// URLPrefix": "extra prefix in url, is omitted while getting path from requested URL ... if set to .com then request to http://localhost/.com/abc will return assets/abc file", "// URLPrefix": "Extra prefix in the URL; omitted while retrieving the path from the requested URL. For example, if set to '.com', then a request to http://localhost/.com/abc will return the 'abc' file from the assets folder",
"URLPrefix": ".com", "URLPrefix": ".com",
"// Mode": "two modes: full - everything is local, partial - downloads assets from ProviderURL if not found locally", "// Mode": "Two modes: full - everything is local, partial - downloads assets from ProviderURL if not found locally",
"Mode": "partial", "Mode": "partial",
"// ProviderURL": "proxy URL used in partial mode", "// ProviderURL": "Proxy URL used in partial mode",
"ProviderURL": "https://web.archive.org/web/20230713000000id_/https://media.jumpstart.com/", "ProviderURL": "https://web.archive.org/web/20230713000000id_/https://media.jumpstart.com/",
"// AutoEncryptRegexp": "regexp matched against URL local part -> if match returned file will be encrypted on fly using 3DES with AutoEncryptKey as key", "// AutoEncryptRegexp": "Regular expression matched against the URL local part. If there's a match, the returned file will be encrypted on-the-fly using 3DES with AutoEncryptKey as the key",
"AutoEncryptRegexp": "/(2\\.[5-9]|2\\.[1-9][0-9]|3\\.[0-9]+)\\.[0-9]/DWADragonsMain.xml$", "AutoEncryptRegexp": "/(2\\.[5-9]|2\\.[1-9][0-9]|3\\.[0-9]+)\\.[0-9]/DWADragonsMain.xml$",
"// AutoEncryptKey": "3DES key for encrypted files", "// AutoEncryptKey": "3DES key for encrypted files",
"AutoEncryptKey": "C92EC1AA-54CD-4D0C-A8D5-403FCCF1C0BD", "AutoEncryptKey": "C92EC1AA-54CD-4D0C-A8D5-403FCCF1C0BD",
"// SubstituteMissingLocalAssets": "when true if the game requests a High asset and you only have Low, it will return Low instead of downloading (partial mode) or error 404 (full mode)", "// SubstituteMissingLocalAssets": "When true, if the game requests a High asset and only Low is available, it will return Low instead of downloading (partial mode) or error 404 (full mode)",
"SubstituteMissingLocalAssets": true, "SubstituteMissingLocalAssets": true,
"// UseCache": "when true store downloading in partial mode assets in assets-cache for use on next requests" , "// UseCache": "When true, downloading assets in partial mode will be stored in assets-cache for use in subsequent requests",
"UseCache": true "UseCache": true
}, },