1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

Set default killswitch URL to releases branch

This commit is contained in:
A_D 2021-01-05 18:23:30 +02:00 committed by Athanasius
parent cd67f12f22
commit 4900361621
2 changed files with 7 additions and 2 deletions

View File

@ -54,3 +54,9 @@ The current recognised (to EDMC and its internal plugins) killswitch strings are
| `plugins.(eddn|inara|edsm|eddb).journal` | Disables all journal processing for EDDN/EDSM/INARA |
| `plugins.(edsm|inara).worker` | Disables the EDSM/INARA worker thread (effectively disables updates) (does not close thread) |
| `plugins.(eddn|inara|edsm).journal.event.$eventname` | Specific events to disable processing for |
## File location
The main killswitch file is kept in the `releases` branch on the EDMC github repo. The file should NEVER be committed to
any other repos. In the case that the killswitch file is found in other repos, the one in releases should always
be taken as correct regardless of others.

View File

@ -9,8 +9,7 @@ import EDMCLogging
logger = EDMCLogging.get_main_logger()
# DEFAULT_KILLSWITCH_URL = 'https://github.com/EDCD/EDMarketConnector'
DEFAULT_KILLSWITCH_URL = 'http://127.0.0.1:8080/killswitches.json'
DEFAULT_KILLSWITCH_URL = 'https://raw.githubusercontent.com/EDCD/EDMarketConnector/releases/killswitches.json'
_current_version: semantic_version.Version = semantic_version.Version(config.appversion)