mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
migrate: add randomMail option
This commit is contained in:
3 files changed
+9
-2
No files matched your search
@@ -31,6 +31,7 @@ export function apply(ctx: Context) {
|
||||
password: Schema.string().required(),
|
||||
domainId: Schema.string().default('system'),
|
||||
dataDir: Schema.string().default('/opt/syzoj/web/uploads'),
|
||||
randomMail: Schema.union(['never', 'needed', 'always']).default('never'),
|
||||
}),
|
||||
(...args) => require('./scripts/syzoj').run(...args),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user