Skip to content

Commit d8866bc

Browse files
committed
Fix links
1 parent 1765313 commit d8866bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195

196196
Consult [Threads vs Threadless](#threads-vs-threadless) and [Threadless Remote vs Local Execution Mode](#threadless-remote-vs-local-execution-mode) to control number of CPU cores utilized.
197197

198-
See [Benchmark](https://github.com/abhinavsingh/proxy.py/tree/develop/benchmark#readme) for more details and for how to run benchmarks locally.
198+
See [Benchmark](https://github.com/abhinavsingh/proxy.py/blob/develop/benchmark/README.md) for more details and for how to run benchmarks locally.
199199

200200
- Lightweight
201201
- Uses only `~5-20 MB` RAM

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 http://twitter.com/imoracle.
37+
resolve to https://twitter.com/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'http://' + self.SHORT_LINKS[request.host] + path,
68+
b"https://" + self.SHORT_LINKS[request.host] + path,
6969
),
7070
)
7171
else:

0 commit comments

Comments
 (0)