Separate URLs for web and API calls

This commit is contained in:
Sybren A. Stüvel 2016-10-18 12:24:43 +02:00
parent 11fd12e125
commit a7307bf7b5

View File

@ -31,8 +31,9 @@ import rna_prop_ui
from . import pillar, async_loop from . import pillar, async_loop
PILLAR_SERVER_URL = 'https://cloud.blender.org/api/' PILLAR_WEB_SERVER_URL = 'https://cloud.blender.org/'
# PILLAR_SERVER_URL = 'http://pillar:5001/api/' # PILLAR_WEB_SERVER_URL = 'http://pillar-web:5001/'
PILLAR_SERVER_URL = '%sapi/' % PILLAR_WEB_SERVER_URL
ADDON_NAME = 'blender_cloud' ADDON_NAME = 'blender_cloud'
log = logging.getLogger(__name__) log = logging.getLogger(__name__)