Commit 4e42fe65 authored by nanahira's avatar nanahira

fix use of ws reverse

parent 105b8cef
Pipeline #6232 passed with stages
in 1 minute and 23 seconds
......@@ -57,6 +57,7 @@ const koishiContextProvider: Provider<Context> = {
koishi._nestKoaTmpServer.listen(0, 'localhost', resolve);
});
koishi._nestKoaTmpServerPort = (koishi._nestKoaTmpServer.address() as AddressInfo).port;
koishi.options.port = koishi._nestKoaTmpServerPort;
return koishi;
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment