mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Split off ServerInitializer.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
b0ecf1c1d8
commit
04a91858c2
@@ -16,6 +16,7 @@ export class ExpressHttpServerFactory implements HttpServerFactory {
|
||||
}
|
||||
|
||||
public startServer(port: number): Server {
|
||||
this.logger.info(`Starting server at http://localhost:${port}/`);
|
||||
return this.createApp().listen(port);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user