Update error messages

New requests are no longer accepted. In most cases this is very easy to create.
Consider opening PR after created it yourself
This commit is contained in:
FoxRefire
2024-07-30 16:57:00 +09:00
parent f273994ee4
commit 7ec8ad83ea
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
try:
cdm.parse_license(session_id, licence)
except Exception as e:
js.document.getElementById('result').value="sch3m3n0t6upp0rt:y0ucanr3qu3st0rsu6mit\n\n[MPD?]\nhttps://gist.github.com/FoxRefire/fd606ec29a9bfa1f1bef897e0dc3a231"
js.document.getElementById('result').value="sch3m3n0t6upp0rt:y0ucancr3at31ty0u4s31f\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg/wiki/How-to-add-custom-license-scheme-yourself"
raise Exception(e)
# get keys

View File

@@ -40,7 +40,7 @@ async def loadCdm():
remote_conf=await (await pyfetch("remote.json")).json()
return RemoteCdm(**remote_conf)
except Exception as e:
js.document.getElementById('result').value="n0suchd3v1c3f113:r3adth3fuck1ngma2ua1\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg?tab=readme-ov-file#instalation"
js.document.getElementById('result').value="n0suchd3v1c3f113:r3adth3fuck1ngma2ua1\n\n[MPD?]\nhttps://github.com/FoxRefire/wvg/wiki/Getting-started#2-put-cdm-files"
raise Exception(e)
# Define corsFetch API for requesting server that require origin header