Skip to content

Commit 39a7a80

Browse files
committed
节假日接口采用https接口
1 parent 1e50c8f commit 39a7a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WeatherCalendar/Services/HolidayFileService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public Holiday[] Load(string file)
2929
List<Holiday> apiHolidays;
3030
try
3131
{
32-
var client = new RestClient("http://yjammak.net",
32+
var client = new RestClient("https://yjammak.net",
3333
configureSerialization: cfg => cfg.UseNewtonsoftJson());
3434
var request = new RestRequest("api/weatherCalender/holidays");
3535
apiHolidays = client.Get<List<Holiday>>(request);

0 commit comments

Comments
 (0)