Leave trailing slash in seed URLs (#731)
This commit is contained in:
parent
e293e98ac3
commit
8033061540
@ -1951,16 +1951,12 @@ https://archiveweb.page/images/${"logo.svg"}`}
|
||||
}
|
||||
|
||||
private parseSeededConfig(): NewCrawlConfigParams["config"] {
|
||||
const primarySeedUrl = this.formState.primarySeedUrl.replace(/\/$/, "");
|
||||
const primarySeedUrl = this.formState.primarySeedUrl;
|
||||
const includeUrlList = this.formState.customIncludeUrlList
|
||||
? urlListToArray(this.formState.customIncludeUrlList).map((str) =>
|
||||
str.replace(/\/$/, "")
|
||||
)
|
||||
? urlListToArray(this.formState.customIncludeUrlList)
|
||||
: [];
|
||||
const additionalSeedUrlList = this.formState.urlList
|
||||
? urlListToArray(this.formState.urlList).map((str) =>
|
||||
str.replace(/\/$/, "")
|
||||
)
|
||||
? urlListToArray(this.formState.urlList)
|
||||
: [];
|
||||
const primarySeed: Seed = {
|
||||
url: primarySeedUrl,
|
||||
|
Loading…
Reference in New Issue
Block a user