Commit e74d4302 authored by Noe Nieto's avatar Noe Nieto 💬

Get back previous configuration file paths (!81)

parent 9787c2e6
......@@ -10,9 +10,9 @@ from .settings_original import *
# LOAD CONFIGURATION FILE
#
CONFIG_PATH = '/ldh_dev_root/etc/config.ini'
SECRET_PATH = '/ldh_dev_root/etc/secret.ini'
LINK_PROFILE_PATH = '/ldh_dev_root/etc/link_profile.strict.yml'
CONFIG_PATH = '/etc/opt/purist/middleware/config.ini'
SECRET_PATH = '/etc/opt/purist/middleware/secret.ini'
LINK_PROFILE_PATH = '/etc/opt/purist/middleware/link_profile.strict.yml'
config = Config(RepositoryIni(CONFIG_PATH))
secret_config = Config(RepositoryIni(SECRET_PATH))
......@@ -146,7 +146,6 @@ WOO_WP_API = config("WOO_WP_API", cast=bool)
WOO_VERSION = config("WOO_VERSION")
WOO_QUERY_STRING_AUTH = config("WOO_QUERY_STRING_AUTH", cast=bool) # required for OAuth over HTTPS
WOO_CROWDFUND_PATH = config("WOO_CROWDFUND_PATH")
WOO_CONSUMER_KEY = secret_config("WOO_CONSUMER_KEY")
WOO_CONSUMER_SECRET = secret_config("WOO_CONSUMER_SECRET")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment