From 641121bac6cdefd512a3c4751a97894036c0e196 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jan 2014 19:58:08 +0100 Subject: go: purge HOSTN and URI_PREFIX --- go/README.markdown | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'go/README.markdown') diff --git a/go/README.markdown b/go/README.markdown index 2d4ba909..761a2ec7 100644 --- a/go/README.markdown +++ b/go/README.markdown @@ -12,11 +12,9 @@ ## run service - HOSTN=go PORT=80 URI_PREFIX=http://go node . + PORT=80 node . - if you omit `HOSTN`, then relative shortened uris will be generated. if you omit `PORT`, then it's `1337`. - if you omit `URI_PREFIX`, then it will be generated from `HOSTN` änd `PORT`. there's also the possibility to change the Redis key prefix which defaults to `go:` with @@ -29,13 +27,13 @@ ## add uri - curl -F uri=https://mywaytoolonguri http://go + curl -F uri=https://mywaytoolonguri http://localhost:1337 this will give you a shortened uri. ## resolve uri - curl -L http://go/1 + curl -L http://localhost:1337/1 ## clear database -- cgit v1.2.3