mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
onlyoffice: mark api as optional
This commit is contained in:
1 parent
68f5977e36
commit
53e33edef7
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import * as system from 'hydrooj/src/model/system';
|
|||||||
|
|
||||||
declare module 'hydrooj/src/service/server' {
|
declare module 'hydrooj/src/service/server' {
|
||||||
interface UiContextBase {
|
interface UiContextBase {
|
||||||
onlyofficeApi: string;
|
onlyofficeApi?: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UiContextBase.onlyofficeApi = system.get('onlyoffice.api');
|
UiContextBase.onlyofficeApi = system.get('onlyoffice.api');
|
||||||
Reference in new issue
Block a user