serving: switching to h2c

This commit is contained in:
Yanlong Wang 2025-02-27 10:11:04 +08:00
parent 20a7d4d538
commit 690984d44a
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37
3 changed files with 3 additions and 3 deletions

View File

@ -165,4 +165,4 @@ const instance = container.resolve(CrawlStandAloneServer);
export default instance;
instance.serviceReady().then((s) => s.listen(parseInt(process.env.PORT || '') || 3000));
instance.serviceReady().then((s) => s.h2c().listen(parseInt(process.env.PORT || '') || 3000));

View File

@ -165,4 +165,4 @@ const instance = container.resolve(SearchStandAloneServer);
export default instance;
instance.serviceReady().then((s) => s.listen(parseInt(process.env.PORT || '') || 3000));
instance.serviceReady().then((s) => s.h2c().listen(parseInt(process.env.PORT || '') || 3000));

@ -1 +1 @@
Subproject commit b37a272c11bffc6484715594f8f285ac50e461dd
Subproject commit b2c5c65f11cab47a228b65b5727c743c481c8288