Skip to content

Commit b5a3b6e

Browse files
committed
Just remove link from plugin docstring for now
1 parent 96850d9 commit b5a3b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proxy/plugin/shortlink.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ShortLinkPlugin(HttpProxyBasePlugin):
3434
Customize map below for your taste and need.
3535
3636
Paths are also preserved. E.g. ``t/imoracle`` will
37-
resolve to https://twitter.com/imoracle.
37+
resolve to my Twitter profile for username ``imoracle``.
3838
"""
3939

4040
SHORT_LINKS = {
@@ -65,7 +65,7 @@ def handle_client_request(
6565
path = SLASH if not request.path else request.path
6666
self.client.queue(
6767
seeOthersResponse(
68-
b'https://' + self.SHORT_LINKS[request.host] + path,
68+
b"http://" + self.SHORT_LINKS[request.host] + path,
6969
),
7070
)
7171
else:

0 commit comments

Comments
 (0)