mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Refactor: refine writing strategy
This commit is contained in:
@@ -7,12 +7,10 @@ import { SurgeDomainSet } from '../writing-strategy/surge';
|
||||
import { FileOutput } from './base';
|
||||
|
||||
export class DomainsetOutput extends FileOutput {
|
||||
protected type = 'domainset' as const;
|
||||
|
||||
strategies: Array<false | BaseWriteStrategy> = [
|
||||
new SurgeDomainSet(),
|
||||
new ClashDomainSet(),
|
||||
new SingboxSource(this.type)
|
||||
new SingboxSource('domainset')
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user