File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1919 VERSION = "Unknown"
2020CACHE_BUFFER_COMPRESSION_MIN_LENGTH : int = 64
2121DEBUG : bool = Config .get ("advanced.debug" )
22- ROOT = os .getcwd ()
23- API_VERSION = "1.10.5"
24- USER_AGENT = f"openbmclapi-cluster/{ API_VERSION } python-openbmclapi/{ VERSION } "
25- BASE_URL = Config .get ("advanced.url" , "https://openbmclapi.bangbang93.com/" )
26- BD_URL = BASE_URL .replace ("openbmclapi" , "bd" )
22+ ROOT : str = os .getcwd ()
23+ API_VERSION : str = "1.10.5"
24+ USER_AGENT : str = f"openbmclapi-cluster/{ API_VERSION } python-openbmclapi/{ VERSION } "
25+ BASE_URL : str = Config .get ("advanced.url" , "https://openbmclapi.bangbang93.com/" )
26+ BD_URL : str = BASE_URL .replace ("openbmclapi" , "bd" )
2727CLUSTER_ID : str = Config .get ("cluster.id" )
2828CLUSTER_SECERT : str = Config .get ("cluster.secret" )
2929IO_BUFFER : int = Config .get ("advanced.io_buffer" )
4949LIMIT_SESSION_WEBDAV : int = 512
5050TIMEOUT : int = Config .get ("advanced.timeout" )
5151REQUEST_BUFFER : int = Config .get ("advanced.request_buffer" )
52- FILE_REDIRECTS = ["index.html" , "index.htm" , "default.html" , "default.htm" ]
52+ FILE_REDIRECTS : list [ str ] = ["index.html" , "index.htm" , "default.html" , "default.htm" ]
5353RESPONSE_HEADERS = {
5454 "Server" : Config .get ("web.server_name" ),
5555}
You can’t perform that action at this time.
0 commit comments