Added environments for http requests
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-08-16 20:08:54 +02:00
parent 6dcd302ab7
commit 64295db0e7
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
POST http://localhost:12000/wahlrecht/v1/calculate
POST {{backend}}/wahlrecht/v1/calculate
Content-Type: application/json
{
+2
View File
@@ -0,0 +1,2 @@
GET {{backend}}/wahlrecht/v1/elections
Content-Type: application/json
+8
View File
@@ -0,0 +1,8 @@
{
"dev": {
"backend": "http://localhost:12000"
},
"prod" : {
"backend": "https://api.2martens.de"
}
}