Skip to content

Commit 328aca1

Browse files
committed
mudando caminho "api" (pasta inexistente) para "backend"
1 parent a466890 commit 328aca1

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

src/backend/Gateway/ocelot.Development.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,93 @@
11
{
22
"Routes": [
33
{
4-
"DownstreamPathTemplate": "/api/Usuarios/{catchAll}",
4+
"DownstreamPathTemplate": "/backend/Usuarios/{catchAll}",
55
"DownstreamScheme": "http",
66
"DownstreamHostAndPorts": [
77
{ "Host": "localhost", "Port": 5133 }
88
],
9-
"UpstreamPathTemplate": "/api/Usuarios/{catchAll}",
9+
"UpstreamPathTemplate": "/backend/Usuarios/{catchAll}",
1010
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
1111
},
1212
{
13-
"DownstreamPathTemplate": "/api/Usuarios",
13+
"DownstreamPathTemplate": "/backend/Usuarios",
1414
"DownstreamScheme": "http",
1515
"DownstreamHostAndPorts": [
1616
{ "Host": "localhost", "Port": 5133 }
1717
],
18-
"UpstreamPathTemplate": "/api/Usuarios",
18+
"UpstreamPathTemplate": "/backend/Usuarios",
1919
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2020
},
2121
{
22-
"DownstreamPathTemplate": "/api/Clientes/{catchAll}",
22+
"DownstreamPathTemplate": "/backend/Clientes/{catchAll}",
2323
"DownstreamScheme": "http",
2424
"DownstreamHostAndPorts": [
2525
{ "Host": "localhost", "Port": 5156 }
2626
],
27-
"UpstreamPathTemplate": "/api/Clientes/{catchAll}",
27+
"UpstreamPathTemplate": "/backend/Clientes/{catchAll}",
2828
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2929
},
3030
{
31-
"DownstreamPathTemplate": "/api/Clientes",
31+
"DownstreamPathTemplate": "/backend/Clientes",
3232
"DownstreamScheme": "http",
3333
"DownstreamHostAndPorts": [
3434
{ "Host": "localhost", "Port": 5156 }
3535
],
36-
"UpstreamPathTemplate": "/api/Clientes",
36+
"UpstreamPathTemplate": "/backend/Clientes",
3737
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
3838
},
3939
{
40-
"DownstreamPathTemplate": "/api/Emprestimos/{catchAll}",
40+
"DownstreamPathTemplate": "/backend/Emprestimos/{catchAll}",
4141
"DownstreamScheme": "http",
4242
"DownstreamHostAndPorts": [
4343
{ "Host": "localhost", "Port": 5276 }
4444
],
45-
"UpstreamPathTemplate": "/api/Emprestimos/{catchAll}",
45+
"UpstreamPathTemplate": "/backend/Emprestimos/{catchAll}",
4646
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
4747
},
4848
{
49-
"DownstreamPathTemplate": "/api/Emprestimos",
49+
"DownstreamPathTemplate": "/backend/Emprestimos",
5050
"DownstreamScheme": "http",
5151
"DownstreamHostAndPorts": [
5252
{ "Host": "localhost", "Port": 5276 }
5353
],
54-
"UpstreamPathTemplate": "/api/Emprestimos",
54+
"UpstreamPathTemplate": "/backend/Emprestimos",
5555
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
5656
},
5757
{
58-
"DownstreamPathTemplate": "/api/Notificacoes/{catchAll}",
58+
"DownstreamPathTemplate": "/backend/Notificacoes/{catchAll}",
5959
"DownstreamScheme": "http",
6060
"DownstreamHostAndPorts": [
6161
{ "Host": "localhost", "Port": 5243 }
6262
],
63-
"UpstreamPathTemplate": "/api/Notificacoes/{catchAll}",
63+
"UpstreamPathTemplate": "/backend/Notificacoes/{catchAll}",
6464
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
6565
},
6666
{
67-
"DownstreamPathTemplate": "/api/Notificacoes",
67+
"DownstreamPathTemplate": "/backend/Notificacoes",
6868
"DownstreamScheme": "http",
6969
"DownstreamHostAndPorts": [
7070
{ "Host": "localhost", "Port": 5243 }
7171
],
72-
"UpstreamPathTemplate": "/api/Notificacoes",
72+
"UpstreamPathTemplate": "/backend/Notificacoes",
7373
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
7474
},
7575
{
76-
"DownstreamPathTemplate": "/api/Report/{catchAll}",
76+
"DownstreamPathTemplate": "/backend/Report/{catchAll}",
7777
"DownstreamScheme": "http",
7878
"DownstreamHostAndPorts": [
7979
{ "Host": "localhost", "Port": 5169 }
8080
],
81-
"UpstreamPathTemplate": "/api/Report/{catchAll}",
81+
"UpstreamPathTemplate": "/backend/Report/{catchAll}",
8282
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
8383
},
8484
{
85-
"DownstreamPathTemplate": "/api/Report",
85+
"DownstreamPathTemplate": "/backend/Report",
8686
"DownstreamScheme": "http",
8787
"DownstreamHostAndPorts": [
8888
{ "Host": "localhost", "Port": 5169 }
8989
],
90-
"UpstreamPathTemplate": "/api/Report",
90+
"UpstreamPathTemplate": "/backend/Report",
9191
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
9292
}
9393
],

src/backend/Gateway/ocelot.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
{
22
"Routes": [
33
{
4-
"DownstreamPathTemplate": "/api/Auth/{everything}",
4+
"DownstreamPathTemplate": "/backend/Auth/{everything}",
55
"DownstreamScheme": "https",
66
"DownstreamHostAndPorts": [
77
{ "Host": "usuario-cyajcbadamgcabhk.eastus-01.azurewebsites.net", "Port": 443 }
88
],
9-
"UpstreamPathTemplate": "/api/Usuarios/{everything}",
9+
"UpstreamPathTemplate": "/backend/Usuarios/{everything}",
1010
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
1111
},
1212
{
13-
"DownstreamPathTemplate": "/api/Clientes/{everything}",
13+
"DownstreamPathTemplate": "/backend/Clientes/{everything}",
1414
"DownstreamScheme": "https",
1515
"DownstreamHostAndPorts": [
1616
{ "Host": "clientes-bdezc9cvekduebee.eastus-01.azurewebsites.net", "Port": 443 }
1717
],
18-
"UpstreamPathTemplate": "/api/Clientes/{everything}",
18+
"UpstreamPathTemplate": "/backend/Clientes/{everything}",
1919
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2020
},
2121
{
22-
"DownstreamPathTemplate": "/api/Emprestimos/{everything}",
22+
"DownstreamPathTemplate": "/backend/Emprestimos/{everything}",
2323
"DownstreamScheme": "https",
2424
"DownstreamHostAndPorts": [
2525
{ "Host": "emprestimos-fra0habvh3cvf7ee.eastus-01.azurewebsites.net", "Port": 443 }
2626
],
27-
"UpstreamPathTemplate": "/api/Emprestimos/{everything}",
27+
"UpstreamPathTemplate": "/backend/Emprestimos/{everything}",
2828
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
2929
},
3030
{
31-
"DownstreamPathTemplate": "/api/Report/{everything}",
31+
"DownstreamPathTemplate": "/backend/Report/{everything}",
3232
"DownstreamScheme": "https",
3333
"DownstreamHostAndPorts": [
3434
{ "Host": "reportss-g9hzg2g6akcxc3fu.eastus-01.azurewebsites.net", "Port": 443 }
3535
],
36-
"UpstreamPathTemplate": "/api/Report/{everything}",
36+
"UpstreamPathTemplate": "/backend/Report/{everything}",
3737
"UpstreamHttpMethod": ["Get", "Post", "Put", "Delete", "Patch", "Options"]
3838
},
3939
{
40-
"DownstreamPathTemplate": "/api/Notificacoes/{everything}",
40+
"DownstreamPathTemplate": "/backend/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
],

0 commit comments

Comments
 (0)