mtgjson now secure
This commit is contained in:
parent
fc59a33b84
commit
ad0334e734
1 changed files with 3 additions and 3 deletions
|
@ -30,13 +30,13 @@
|
||||||
#include "settingscache.h"
|
#include "settingscache.h"
|
||||||
|
|
||||||
#define ZIP_SIGNATURE "PK"
|
#define ZIP_SIGNATURE "PK"
|
||||||
#define ALLSETS_URL_FALLBACK "http://mtgjson.com/json/AllSets.json"
|
#define ALLSETS_URL_FALLBACK "https://mtgjson.com/json/AllSets.json"
|
||||||
|
|
||||||
#ifdef HAS_ZLIB
|
#ifdef HAS_ZLIB
|
||||||
#include "zip/unzip.h"
|
#include "zip/unzip.h"
|
||||||
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json.zip"
|
#define ALLSETS_URL "https://mtgjson.com/json/AllSets.json.zip"
|
||||||
#else
|
#else
|
||||||
#define ALLSETS_URL "http://mtgjson.com/json/AllSets.json"
|
#define ALLSETS_URL "https://mtgjson.com/json/AllSets.json"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml"
|
#define TOKENS_URL "https://raw.githubusercontent.com/Cockatrice/Magic-Token/master/tokens.xml"
|
||||||
|
|
Loading…
Reference in a new issue