mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 08:38:49 -07:00
50 lines
2.0 KiB
JSON
50 lines
2.0 KiB
JSON
{
|
|
"Kestrel": {
|
|
"EndPoints": {
|
|
"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": "http://*:5000"
|
|
}
|
|
}
|
|
},
|
|
"AssetServer": {
|
|
"// Enabled": "set to false to disable builtin asset server",
|
|
"Enabled": true,
|
|
|
|
"// ListenIP": "listening ip address for asset server, default * -> all IPv4 and IPv6 addresses",
|
|
"ListenIP": "*",
|
|
|
|
"// Port": "listening port number for asset server (should be different than for serer api)",
|
|
"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": ".com",
|
|
|
|
"// Mode": "two modes: full - everything is local, partial - downloads assets from ProviderURL if not found locally",
|
|
"Mode": "partial",
|
|
|
|
"// ProviderURL": "proxy URL used in partial mode",
|
|
"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": "/(2\\.[5-9]|2\\.[1-9][0-9]|3\\.[0-9]+)\\.[0-9]/DWADragonsMain.xml$",
|
|
|
|
"// AutoEncryptKey": "3DES key for encrypted files",
|
|
"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": true,
|
|
|
|
"// UseCache": "when true store downloading in partial mode assets in assets-cache for use on next requests" ,
|
|
"UseCache": true
|
|
},
|
|
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|