Add an explicit local artifact download proxy flag for development and tests. Keep the public download endpoint as a redirect while routing enabled loopback artifacts through the internal proxy.
19 lines
759 B
JSON
19 lines
759 B
JSON
{
|
|
"profiles": {
|
|
"Debug Profile": {
|
|
"commandName": "Project",
|
|
"dotnetRunMessages": true,
|
|
"launchBrowser": true,
|
|
"applicationUrl": "https://localhost:7259;http://localhost:5001",
|
|
"environmentVariables": {
|
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
|
"PB_POSTGRES": "User ID=postgres;Include Error Detail=true;Host=127.0.0.1;Port=61932;Database=btcpayplugin",
|
|
"PB_STORAGE_CONNECTION_STRING": "BlobEndpoint=http://127.0.0.1:32827/satoshi;AccountName=satoshi;AccountKey=Rxb41pUHRe+ibX5XS311tjXpjvu7mVi2xYJvtmq1j2jlUpN+fY/gkzyBMjqwzgj42geXGdYSbPEcu5i5wjSjPw==",
|
|
"PB_CHEAT_MODE": "true",
|
|
"PB_ENABLE_LOCAL_ARTIFACT_DOWNLOAD_PROXY": "true",
|
|
"PB_DEBUGLOG": "debug.log"
|
|
}
|
|
}
|
|
}
|
|
}
|