Skip to content

Commit 290e11f

Browse files
author
Sergey Tregub
committed
Add Urls parameter to appsettings.json
This can help to change default listening ip-address and port
1 parent 91b63e8 commit 290e11f

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed
Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
{
2-
"Serilog": {
3-
"MinimumLevel": {
4-
"Default": "Warning",
5-
"Override": {
6-
"Microsoft": "Warning",
7-
"System": "Warning"
8-
}
9-
},
10-
"WriteTo": [
11-
{
12-
"Name": "File",
13-
"Args": {
14-
"path": "%AppData%/Logs/ReferenceProject.log",
15-
"rollingInterval": "Day",
16-
"buffered": false
17-
}
18-
},
19-
{
20-
"Name": "Console"
21-
}
22-
]
2+
"Serilog": {
3+
"MinimumLevel": {
4+
"Default": "Warning",
5+
"Override": {
6+
"Microsoft": "Warning",
7+
"System": "Warning"
8+
}
239
},
24-
"AllowedHosts": "*",
25-
"CoolServiceEndpoint": "http://%ENDPOINT_HOST%/cool",
26-
"AnotherServiceEndpoint": "http://%ENDPOINT_HOST%/another"
10+
"WriteTo": [
11+
{
12+
"Name": "File",
13+
"Args": {
14+
"path": "%AppData%/Logs/ReferenceProject.log",
15+
"rollingInterval": "Day",
16+
"buffered": false
17+
}
18+
},
19+
{
20+
"Name": "Console"
21+
}
22+
]
23+
},
24+
"AllowedHosts": "*",
25+
"CoolServiceEndpoint": "http://%ENDPOINT_HOST%/cool",
26+
"AnotherServiceEndpoint": "http://%ENDPOINT_HOST%/another",
27+
"Urls": "http://localhost:5000"
2728
}

0 commit comments

Comments
 (0)