Use env vars in launchSettings.json (#168)

This commit is contained in:
Mary Ellen Chaffin 2018-02-22 12:00:23 -08:00 коммит произвёл Parvez
Родитель 5e8e55e1a0
Коммит 9d98f50caf
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -14,7 +14,7 @@
"launchUrl": "http://localhost:9003/v1/status", "launchUrl": "http://localhost:9003/v1/status",
"environmentVariables": { "environmentVariables": {
"PCS_STORAGEADAPTER_WEBSERVICE_URL": "http://localhost:9022/v1", "PCS_STORAGEADAPTER_WEBSERVICE_URL": "http://localhost:9022/v1",
"PCS_IOTHUB_CONNSTRING": "EnterHubConnString" "PCS_IOTHUB_CONNSTRING": "$(PCS_IOTHUB_CONNSTRING)"
} }
}, },
"WebService": { "WebService": {
@ -22,7 +22,7 @@
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "http://localhost:9003/v1/status", "launchUrl": "http://localhost:9003/v1/status",
"environmentVariables": { "environmentVariables": {
"PCS_IOTHUB_CONNSTRING": "HostName={Your Azure IoT Hub hostname};SharedAccessKeyName=iothubowner;SharedAccessKey={SECRET KEY}" "PCS_IOTHUB_CONNSTRING": "$(PCS_IOTHUB_CONNSTRING)"
}, },
"applicationUrl": "http://localhost:9003/v1/status" "applicationUrl": "http://localhost:9003/v1/status"
} }