diff options
Diffstat (limited to 'arbiter')
-rw-r--r-- | arbiter/arbiter.go | 4 | ||||
-rwxr-xr-x | arbiter/tests.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arbiter/arbiter.go b/arbiter/arbiter.go index 7390cfa..8fce2be 100644 --- a/arbiter/arbiter.go +++ b/arbiter/arbiter.go @@ -363,8 +363,8 @@ func main() { setupLogging() var handlerFuncs = []HttpHandler{ - {name: "/arb/gecko", function: arbHandler}, - {name: "/arb/coincap", function: coincapHandler}, + {name: "/crypto/v1/arb/gecko", function: arbHandler}, + {name: "/crypto/v1/arb/coincap", function: coincapHandler}, } startServer(gracefulWait, handlerFuncs, SERVER_DEPLOYMENT_TYPE, *flagPort) diff --git a/arbiter/tests.sh b/arbiter/tests.sh index ece5801..be923f3 100755 --- a/arbiter/tests.sh +++ b/arbiter/tests.sh @@ -1,4 +1,4 @@ #!/usr/bin/env sh -curl -k -X GET "https://localhost:8009/arb/gecko?name=ethereum&unit=usd" -curl -k -X GET "https://localhost:8009/arb/coincap?name=ethereum" +curl -k -X GET "https://localhost:8009/crypto/v1/arb/gecko?name=ethereum&unit=usd" +curl -k -X GET "https://localhost:8009/crypto/v1/arb/coincap?name=ethereum" |