Use env vars in launchSettings.json (#168)
This commit is contained in:
Родитель
5e8e55e1a0
Коммит
9d98f50caf
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче