Merge pull request #79 from j9d3it/patch-2

Example Redirector config change
This commit is contained in:
Pablo Ferreiro 2022-09-07 16:15:03 +02:00 committed by GitHub
commit c076ba65a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,13 +21,13 @@ If you want to automatically redirect Tiktok links to ProxiTok you can use:
* [Libredirect](https://github.com/libredirect/libredirect) * [Libredirect](https://github.com/libredirect/libredirect)
* [Redirector](https://github.com/einaregilsson/Redirector) * [Redirector](https://github.com/einaregilsson/Redirector)
You can use the following config if you want to use Redirector (you can change https://proxitok.herokuapp.com with whatever instance you want to use): You can use the following config if you want to use Redirector (you can change https://proxitok.pabloferreiro.es with whatever instance you want to use):
``` ```
Description: TikTok to ProxiTok Description: TikTok to ProxiTok
Example URL: https://www.tiktok.com/@tiktok Example URL: https://www.tiktok.com/@tiktok
Include pattern: (.*//.*)(tiktok.com)(.*) Include pattern: (.*//.*)(tiktok.com)(.*)
Redirect to: https://proxitok.herokuapp.com$3 Redirect to: https://proxitok.pabloferreiro.es$3
Example result: https://proxitok.herokuapp.com/@tiktok Example result: https://proxitok.pabloferreiro.es/@tiktok
Pattern type: Regular Expression Pattern type: Regular Expression
Apply to: Main window (address bar) Apply to: Main window (address bar)
``` ```