Skip to content

[SUGGESTION] Add redirector addon rules to readme for a possible usecase of this server #6

Description

@Benzeel

Redirector rules (https://einaregilsson.com/redirector/)

fonts.gstatic.com

Description: Replace google fonts with self hosted version
Example URL: https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2
Include pattern: ^https://fonts\.gstatic\.com/(.*)
Redirect to: https://[YOUR DOMAIN HERE]/$1
Pattern type: Regular Expression

fonts.googleapis.com

Description: Replace google fonts with self hosted version
Example URL: https://fonts.googleapis.com/css?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swap
Include pattern: ^https?://fonts\.googleapis\.com/css(\?.*)$
Redirect to: https://[YOUR DOMAIN HERE]/css/$1
Pattern type: Regular Expression

Description: Replace google fonts with self hosted version
Example URL: https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=YouTube Sans:wght@300..900&display=swap
Include pattern: ^https?://fonts\.googleapis\.com/css2(\?.*)$
Redirect to: https://[YOUR DOMAIN HERE]/css/$1
Pattern type: Regular Expression

in advanced options, apply to all, and set process matches to No Processing

(optional example image below)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions