mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Minor changes here and there
This commit is contained in:
@@ -28,8 +28,8 @@ export const buildParseDomainMap = (inputs: string[]) => {
|
||||
|
||||
export const sortDomains = (
|
||||
inputs: string[],
|
||||
domainMap?: Map<string, string>,
|
||||
subdomainMap?: Map<string, string>
|
||||
domainMap?: Map<string, string> | null,
|
||||
subdomainMap?: Map<string, string> | null
|
||||
) => {
|
||||
if (!domainMap || !subdomainMap) {
|
||||
const { domainMap: dm, subdomainMap: sm } = buildParseDomainMap(inputs);
|
||||
|
||||
Reference in New Issue
Block a user