- 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
.
-
noticed
port = int(os.environ.get('PORT', 80))
if you want to use another port.
python main.py