Chore: improve trace output

This commit is contained in:
SukkaW
2025-03-02 00:28:44 +08:00
parent 64317794b0
commit 34c316f509
6 changed files with 33 additions and 16 deletions

View File

@@ -26,6 +26,8 @@ export interface SingboxSourceFormat {
}
export class SingboxSource extends BaseWriteStrategy {
public readonly name = 'singbox';
readonly fileExtension = 'json';
static readonly jsonToLines = (json: unknown): string[] => stringify(json).split('\n');