From 939952bccbcef6841afad96f675ba146c139b49d Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Fri, 7 Jun 2024 04:12:34 +0900 Subject: [PATCH] Updated How to add custom license scheme yourself (markdown) --- How-to-add-custom-license-scheme-yourself.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/How-to-add-custom-license-scheme-yourself.md b/How-to-add-custom-license-scheme-yourself.md index cb043a8..5b02c4b 100644 --- a/How-to-add-custom-license-scheme-yourself.md +++ b/How-to-add-custom-license-scheme-yourself.md @@ -30,10 +30,12 @@ See [Config files](https://github.com/FoxRefire/wvg/wiki/Config-files) for more # References of scheme file -*licUrl*: License URL as String +[*licUrl*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L17): License URL as String -*licHeaders*: Headers as JSON object +[*licHeaders*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L18): Headers as JSON object -*licBody*: Request payloads of License server as Base64 String +[*licBody*](https://github.com/FoxRefire/wvg/blob/next/popup.js#L19): Request payloads of License server as Base64 String. Use loadBody() API to able to load it in scheme. -*corsFetch()*: Use this method instead of pyfetch if the license server requires that the Origin header be set to the original domain. \ No newline at end of file +[*corsFetch()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L47): Use this method instead of pyfetch if the license server requires that the Origin header be set to the original domain. + +[*loadBody()*](https://github.com/FoxRefire/wvg/blob/next/python/pre.py#L67): Loads Base64 encoded requestBody into scheme \ No newline at end of file