Merge pull request #1761 from ZeldaZach/oracle_secure

mtgjson now secure
This commit is contained in:
ctrlaltca 2016-01-15 09:27:57 +01:00
commit f7f9827b91

View file

@ -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"