mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Implement --baseUrl flag.
Closes https://github.com/solid/community-server/issues/372
This commit is contained in:
@@ -23,6 +23,7 @@ describe('An Express server with middleware', (): void => {
|
||||
'urn:solid-server:default:ExpressHttpServerFactory', 'middleware.json', {
|
||||
'urn:solid-server:default:LdpHandler': new SimpleHttpHandler(),
|
||||
'urn:solid-server:default:variable:port': port,
|
||||
'urn:solid-server:default:variable:baseUrl': 'https://example.pod/',
|
||||
},
|
||||
) as ExpressHttpServerFactory;
|
||||
server = factory.startServer(port);
|
||||
|
||||
Reference in New Issue
Block a user