🐛 小刻食堂cdn使用https (#650)

This commit is contained in:
洛梧藤 2024-11-06 16:47:55 +08:00 committed by GitHub
parent 5fe9712754
commit d10db08395
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
DATASOURCE_URL = "https://server.ceobecanteen.top/api/v1/canteen/config/datasource/list"
COMB_ID_URL = "https://server.ceobecanteen.top/api/v1/canteen/user/getDatasourceComb"
COOKIE_ID_URL = "http://cdn.ceobecanteen.top/datasource-comb"
COOKIE_ID_URL = "https://cdn.ceobecanteen.top/datasource-comb"
COOKIES_URL = "https://server-cdn.ceobecanteen.top/api/v1/cdn/cookie/mainList/cookieList"

View File

@ -166,7 +166,7 @@ async def test_batch_fetch_new_with_single(
targets_router = respx.get("https://server.ceobecanteen.top/api/v1/canteen/config/datasource/list")
comb_id_router = respx.post("https://server.ceobecanteen.top/api/v1/canteen/user/getDatasourceComb")
cookie_id_router = respx.get("http://cdn.ceobecanteen.top/datasource-comb/2")
cookie_id_router = respx.get("https://cdn.ceobecanteen.top/datasource-comb/2")
cookies_router = respx.get("https://server-cdn.ceobecanteen.top/api/v1/cdn/cookie/mainList/cookieList")
targets_router.mock(return_value=Response(200, json=ceobecanteen_targets, headers=mock_respone_headers))