mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
next: esbuild loader
This commit is contained in:
1 parent
cca54dc92a
commit
5eaec48002
28 files changed
+171
-113
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import superagent from 'superagent';
|
||||
import { ValidationError, ForbiddenError } from 'hydrooj/dist/error';
|
||||
import { PRIV } from 'hydrooj/dist/model/builtin';
|
||||
import * as system from 'hydrooj/dist/model/system';
|
||||
import * as bus from 'hydrooj/dist/service/bus';
|
||||
import { ValidationError, ForbiddenError } from 'hydrooj/src/error';
|
||||
import { PRIV } from 'hydrooj/src/model/builtin';
|
||||
import * as system from 'hydrooj/src/model/system';
|
||||
import * as bus from 'hydrooj/src/service/bus';
|
||||
|
||||
bus.on('handler/before/UserRegister', async (thisArg) => {
|
||||
if (!system.get('recaptcha.key')) return;
|
||||
|
||||
Reference in new issue
Block a user