mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Bring lint config back to original strictness
This commit is contained in:
@@ -8,7 +8,7 @@ interface CreateExtractorArgs {
|
||||
}
|
||||
|
||||
// Helper function for instantiating an OriginalUrlExtractor
|
||||
function createExtractor(args: CreateExtractorArgs = { }): OriginalUrlExtractor {
|
||||
function createExtractor(args: CreateExtractorArgs = {}): OriginalUrlExtractor {
|
||||
const identifierStrategy = new SingleRootIdentifierStrategy(args.baseUrl ?? 'http://test.com');
|
||||
const extractor = new OriginalUrlExtractor({ identifierStrategy, includeQueryString: args.includeQueryString });
|
||||
return extractor;
|
||||
|
||||
Reference in New Issue
Block a user