Revert "serving: switching to h2c"

This reverts commit 690984d44a960a27556fc46873366f785d60666f.
This commit is contained in:
Yanlong Wang 2025-02-27 11:36:56 +08:00
parent efc405b1a0
commit 4873578c62
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37
2 changed files with 2 additions and 2 deletions

View File

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