Skip to content

Commit 2ef5212

Browse files
authored
Atualizar o host.json
1 parent a316011 commit 2ef5212

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

host.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,29 @@
33
"extensionBundle": {
44
"id": "Microsoft.Azure.Functions.ExtensionBundle",
55
"version": "[4.*, 5.0.0)"
6+
},
7+
"extensions": {
8+
"http": {
9+
"routePrefix": "api",
10+
"cors": {
11+
"allowedOrigins": [
12+
"*"
13+
],
14+
"allowedMethods": [
15+
"GET",
16+
"POST",
17+
"PUT",
18+
"DELETE",
19+
"OPTIONS",
20+
"PATCH"
21+
],
22+
"allowedHeaders": [
23+
"Content-Type",
24+
"Authorization",
25+
"*"
26+
],
27+
"supportsCredentials": true
28+
}
29+
}
630
}
731
}

0 commit comments

Comments
 (0)