From d8bce6dcea3a54f37abccb1abf23b1e482d290ca Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 12 Dec 2012 10:20:22 +0400 Subject: Use absolute path to ticker --- public/js/index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') 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 = '??' -- cgit v1.2.3