We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96850d9 commit b5a3b6eCopy full SHA for b5a3b6e
proxy/plugin/shortlink.py
@@ -34,7 +34,7 @@ class ShortLinkPlugin(HttpProxyBasePlugin):
34
Customize map below for your taste and need.
35
36
Paths are also preserved. E.g. ``t/imoracle`` will
37
- resolve to https://twitter.com/imoracle.
+ resolve to my Twitter profile for username ``imoracle``.
38
"""
39
40
SHORT_LINKS = {
@@ -65,7 +65,7 @@ def handle_client_request(
65
path = SLASH if not request.path else request.path
66
self.client.queue(
67
seeOthersResponse(
68
- b'https://' + self.SHORT_LINKS[request.host] + path,
+ b"http://" + self.SHORT_LINKS[request.host] + path,
69
),
70
)
71
else:
0 commit comments