summaryrefslogtreecommitdiffstats
path: root/go/README.markdown
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-01-06 01:38:37 +0100
committertv <tv@nomic.retiolum>2014-01-06 01:38:37 +0100
commit7023ea2453bde5a09ffd2555c4237443ad88b643 (patch)
treed4a58459876213df55ba9d888bc5b5cde95ab8bc /go/README.markdown
parent1915e77f5d97f9a2816c447e3051d63d18a8b71d (diff)
go: make URI_PREFIX configurable
Diffstat (limited to 'go/README.markdown')
-rw-r--r--go/README.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/go/README.markdown b/go/README.markdown
index e21a132d..56378151 100644
--- a/go/README.markdown
+++ b/go/README.markdown
@@ -12,10 +12,11 @@
## run service
- HOSTN=go PORT=80 node .
+ HOSTN=go PORT=80 URI_PREFIX=http://go 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`.
## add uri