-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhost.json
39 lines (39 loc) · 778 Bytes
/
host.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.*, 5.0.0)"
},
"extensions": {
"http": {
"routePrefix": "api",
"cors": {
"supportCredentials": false,
"allowedOrigins": [
"http://localhost:3000",
"https://localhost:3000"
],
"allowedMethods": [
"GET",
"POST",
"OPTIONS"
],
"allowedHeaders": [
"Content-Type",
"Authorization",
"Accept",
"Origin"
],
"maxAge": 86400
}
}
}
}