Skip to content

A temporary 302 redirect tool when the mirror site is unreachable

Notifications You must be signed in to change notification settings

ShanghaitechGeekPie/301-Hospital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

301 Hospital: +1 S to our mirrors' uptime!

How to use

  1. Edit config.ini to set your own configuration.

For example,

[Redirect]
path = anthon
url = http://mirrors.ustc.edu.cn/anthon/

will redirect ///anthon////114514 to http://mirrors.ustc.edu.cn/anthon/114514.

  1. noticed port = int(os.environ.get('PORT', 80)) if you want to use another port.

python main.py

About

A temporary 302 redirect tool when the mirror site is unreachable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages