Mercurial > repo
changeset 11468:ff752d36eb0e draft
<fizzie> sled bin/url//s,https://hackego.esolangs.org/,https://hack.esolangs.org/,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 08 Apr 2018 18:18:04 +0100 |
parents | 380e297c7ae5 |
children | 5a1e15fb9528 |
files | bin/url |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/url Sun Apr 08 18:06:28 2018 +0100 +++ b/bin/url Sun Apr 08 18:18:04 2018 +0100 @@ -8,7 +8,7 @@ if re.match(r"/|\.hg(?:/|$)",f): sys.exit("File is outside web-viewable filesystem repository.") elif re.match(r"tmp(?:/|$)",f): - print ("https://hackego.esolangs.org/" + urllib.quote(f)) + print ("https://hack.esolangs.org/" + urllib.quote(f)) else: print ("https://hack.esolangs.org/repo/file/tip/" + urllib.quote(f))