aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-12-12 10:20:22 +0400
committerAdam Soltys <[email protected]>2012-12-12 10:20:22 +0400
commitd8bce6dcea3a54f37abccb1abf23b1e482d290ca (patch)
tree2164e25afb541dbb68b19acb5258a4a857895160 /public
parented4a64c60d96ed2ba377a73201c43b558b7f915b (diff)
downloadcoinos-server-d8bce6dcea3a54f37abccb1abf23b1e482d290ca.tar.gz
coinos-server-d8bce6dcea3a54f37abccb1abf23b1e482d290ca.zip
Use absolute path to ticker
Diffstat (limited to 'public')
-rw-r--r--public/js/index.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.coffee b/public/js/index.coffee
index b180ee2d..f12bcb3c 100644
--- a/public/js/index.coffee
+++ b/public/js/index.coffee
@@ -11,7 +11,7 @@ fetchExchangeRate = (type) ->
commission *= -1 if type is 'bid'
$.ajax(
- url: "ticker?symbol=virtexCAD&type=#{type}&amount=1000",
+ url: "/ticker?symbol=virtexCAD&type=#{type}&amount=1000",
success: (exchange) ->
if not exchange?
exchange = '??'