mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader.git
synced 2025-08-18 05:55:53 +08:00
serving: switching to h2c
This commit is contained in:
parent
20a7d4d538
commit
690984d44a
@ -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));
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user