Skip to content

Commit 4d9bf97

Browse files
fix: corrige rotas downstream do ocelot.json para producao Azure
1 parent 3c0e986 commit 4d9bf97

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/backend/Gateway/ocelot.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Routes": [
33
{
4-
"DownstreamPathTemplate": "/backend/Auth/{everything}",
4+
"DownstreamPathTemplate": "/api/Auth/{everything}",
55
"DownstreamScheme": "https",
66
"DownstreamHostAndPorts": [
77
{ "Host": "usuario-cyajcbadamgcabhk.eastus-01.azurewebsites.net", "Port": 443 }
@@ -10,7 +10,7 @@
1010
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
1111
},
1212
{
13-
"DownstreamPathTemplate": "/backend/Clientes/{everything}",
13+
"DownstreamPathTemplate": "/api/Clientes/{everything}",
1414
"DownstreamScheme": "https",
1515
"DownstreamHostAndPorts": [
1616
{ "Host": "clientes-bdezc9cvekduebee.eastus-01.azurewebsites.net", "Port": 443 }
@@ -19,7 +19,7 @@
1919
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2020
},
2121
{
22-
"DownstreamPathTemplate": "/backend/Emprestimos/{everything}",
22+
"DownstreamPathTemplate": "/api/Emprestimos/{everything}",
2323
"DownstreamScheme": "https",
2424
"DownstreamHostAndPorts": [
2525
{ "Host": "emprestimos-fra0habvh3cvf7ee.eastus-01.azurewebsites.net", "Port": 443 }
@@ -28,7 +28,7 @@
2828
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2929
},
3030
{
31-
"DownstreamPathTemplate": "/backend/Report/{everything}",
31+
"DownstreamPathTemplate": "/api/report/{everything}",
3232
"DownstreamScheme": "https",
3333
"DownstreamHostAndPorts": [
3434
{ "Host": "reportss-g9hzg2g6akcxc3fu.eastus-01.azurewebsites.net", "Port": 443 }
@@ -37,16 +37,16 @@
3737
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
3838
},
3939
{
40-
"DownstreamPathTemplate": "/backend/Notificacoes/{everything}",
40+
"DownstreamPathTemplate": "/api/Notificacoes/{everything}",
4141
"DownstreamScheme": "https",
4242
"DownstreamHostAndPorts": [
4343
{ "Host": "notificacoe-ezdecvdvhfe8becj.eastus-01.azurewebsites.net", "Port": 443 }
4444
],
45-
"UpstreamPathTemplate": "/api/Notificacoes/{everything}",
45+
"UpstreamPathTemplate": "/backend/Notificacoes/{everything}",
4646
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
4747
}
4848
],
4949
"GlobalConfiguration": {
5050
"BaseUrl": "https://gateway-hxc8cshmfsd9cwdt.eastus-01.azurewebsites.net"
5151
}
52-
}
52+
}

0 commit comments

Comments
 (0)