Do custom EsiPY prefix, change sso endpoint to look at pyfa.io instead of localhost
This commit is contained in:
@@ -40,7 +40,7 @@ logging_setup = None
|
||||
cipher = None
|
||||
clientHash = None
|
||||
|
||||
ESI_AUTH_PROXY = "http://localhost:5015" # "https://blitzmann.pythonanywhere.com" // need to get this set up, and actually put on it's own domain
|
||||
ESI_AUTH_PROXY = "https://www.pyfa.io" # "http://localhost:5015"
|
||||
ESI_CACHE = 'esi_cache'
|
||||
|
||||
LOGLEVEL_MAP = {
|
||||
@@ -140,7 +140,7 @@ def defPaths(customSavePath=None):
|
||||
# os.environ["SSL_CERT_FILE"] = os.path.join(pyfaPath, "cacert.pem")
|
||||
|
||||
# The database where we store all the fits etc
|
||||
saveDB = os.path.join(savePath, "saveddata-py3-dev.db")
|
||||
saveDB = os.path.join(savePath, "saveddata-py3-esi-dev.db")
|
||||
|
||||
# The database where the static EVE data from the datadump is kept.
|
||||
# This is not the standard sqlite datadump but a modified version created by eos
|
||||
|
||||
@@ -8,6 +8,7 @@ import config
|
||||
import base64
|
||||
import json
|
||||
import os
|
||||
import config
|
||||
|
||||
import eos.db
|
||||
import datetime
|
||||
@@ -47,7 +48,7 @@ class Esi(object):
|
||||
|
||||
@classmethod
|
||||
def initEsiApp(cls):
|
||||
cls.esiapp = EsiApp(cache=file_cache)
|
||||
cls.esiapp = EsiApp(cache=file_cache, cache_time=None, cache_prefix='pyfa{0}-esipy-'.format(config.version))
|
||||
cls.esi_v1 = cls.esiapp.get_v1_swagger
|
||||
cls.esi_v4 = cls.esiapp.get_v4_swagger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user