Commit 7e826ad
committed
fix: use ConfigureWebHost instead of ConfigureWebHostDefaults for TestServer
ConfigureWebHostDefaults applies Kestrel defaults AFTER the user's
configure action runs, overriding the UseTestServer() call. Using
ConfigureWebHost instead ensures only TestServer is configured as
the web server.
Signed-off-by: Shashwat Sinha <shashwat.sinha2003@gmail.com>1 parent aadd729 commit 7e826ad
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments