Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version 2.0.1 Push

  • Loading branch information...
commit 66876fe8022fb8f9fffc83d847e3bc972a670088 1 parent 4549469
Justin authored
Showing with 8 additions and 4 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −1  README.md
  3. +1 −1  VERSION
  4. +2 −2 server.js
View
4 CHANGELOG.md
@@ -1,5 +1,9 @@
## CHANGELOG
+### Version 0.2.1
+- Fixed a bug when not providing a trailing slash after the ticker symbol. https://github.com/nodesocket/quote-stream/issues/1
+- Slight update to the documentation to reflect a trailing slash after the ticker symbol is not required.
+
### Version 0.2.0
- Fixed a bug where other ticker requests would stream in. For example, if a client requested GOOG, and then another client connected requesting MSFT, the first connected client would see MSFT stream in.
View
2  README.md
@@ -5,7 +5,7 @@
## Usage
**Apple Inc. (AAPL)**
-### <http://localhost:4000/AAPL/>
+### <http://localhost:4000/AAPL>
Simply replace **AAPL** in the URL with a **valid ticker symbol**. Currently, Quote Stream only supports passing a single ticker symbol. Stock quotes are pulled from <http://finance.google.com> and are real-time.
View
2  VERSION
@@ -1 +1 @@
-0.2.0
+0.2.1
View
4 server.js
@@ -1,7 +1,7 @@
/**
* Quote Stream
*
- * @version 0.2.0
+ * @version 0.2.1
* @author NodeSocket <http://www.nodesocket.com> <hello@nodesocket.com>
*/
@@ -46,7 +46,7 @@ io.set('log level', 1);
server.listen(PORT);
var ticker = "";
-app.get('/:ticker/', function(req, res) {
+app.get('/:ticker', function(req, res) {
ticker = req.params.ticker;
res.sendfile(__dirname + '/index.html');
});
Please sign in to comment.
Something went wrong with that request. Please try again.