mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
修复oauth.google setting字段异常问题,将__mock__添加至ignore
This commit is contained in:
1 parent
147637d539
commit
6ba93841ea
17 files changed
+103
-16
No files matched your search
@@ -4,6 +4,14 @@ import superagentProxy from 'superagent-proxy';
|
||||
|
||||
superagentProxy(superagent);
|
||||
|
||||
declare module 'hydrooj' {
|
||||
interface SystemKeys {
|
||||
'login-with-github.id': string,
|
||||
'login-with-github.secret': string,
|
||||
'login-with-github.proxy': string,
|
||||
}
|
||||
}
|
||||
|
||||
async function get() {
|
||||
const { system, token } = global.Hydro.model;
|
||||
const [appid, [state]] = await Promise.all([
|
||||
|
||||
Reference in new issue
Block a user