mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Add some missed pages/endpoints (thanks to iamllama)
This commit is contained in:
parent
2a97b135ee
commit
b02111bb2c
2 changed files with 4 additions and 0 deletions
|
@ -720,6 +720,7 @@ def _check_dynamic_request_permissions():
|
||||||
"/_anki/getSchedulingStatesWithContext",
|
"/_anki/getSchedulingStatesWithContext",
|
||||||
"/_anki/setSchedulingStates",
|
"/_anki/setSchedulingStates",
|
||||||
"/_anki/i18nResources",
|
"/_anki/i18nResources",
|
||||||
|
"/_anki/congratsInfo",
|
||||||
):
|
):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -137,6 +137,9 @@ class AnkiWebPage(QWebEnginePage):
|
||||||
AnkiWebViewKind.DECK_STATS,
|
AnkiWebViewKind.DECK_STATS,
|
||||||
AnkiWebViewKind.CHANGE_NOTETYPE,
|
AnkiWebViewKind.CHANGE_NOTETYPE,
|
||||||
AnkiWebViewKind.BROWSER_CARD_INFO,
|
AnkiWebViewKind.BROWSER_CARD_INFO,
|
||||||
|
AnkiWebViewKind.IMPORT_ANKI_PACKAGE,
|
||||||
|
AnkiWebViewKind.IMPORT_CSV,
|
||||||
|
AnkiWebViewKind.IMPORT_LOG,
|
||||||
)
|
)
|
||||||
|
|
||||||
global _profile_with_api_access, _profile_without_api_access
|
global _profile_with_api_access, _profile_without_api_access
|
||||||
|
|
Loading…
Reference in a new issue