Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Version 2.0.1 Push

  • Loading branch information...
commit 66876fe8022fb8f9fffc83d847e3bc972a670088 1 parent 4549469
Justin authored

Showing 4 changed files with 8 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 0 CHANGELOG.md
  2. +1 1  README.md
  3. +1 1  VERSION
  4. +2 2 server.js
4 CHANGELOG.md
Source Rendered
... ... @@ -1,5 +1,9 @@
1 1 ## CHANGELOG
2 2
  3 +### Version 0.2.1
  4 +- Fixed a bug when not providing a trailing slash after the ticker symbol. https://github.com/nodesocket/quote-stream/issues/1
  5 +- Slight update to the documentation to reflect a trailing slash after the ticker symbol is not required.
  6 +
3 7 ### Version 0.2.0
4 8 - 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.
5 9
2  README.md
Source Rendered
@@ -5,7 +5,7 @@
5 5 ## Usage
6 6
7 7 **Apple Inc. (AAPL)**
8   -### <http://localhost:4000/AAPL/>
  8 +### <http://localhost:4000/AAPL>
9 9
10 10 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.
11 11
2  VERSION
... ... @@ -1 +1 @@
1   -0.2.0
  1 +0.2.1
4 server.js
... ... @@ -1,7 +1,7 @@
1 1 /**
2 2 * Quote Stream
3 3 *
4   - * @version 0.2.0
  4 + * @version 0.2.1
5 5 * @author NodeSocket <http://www.nodesocket.com> <hello@nodesocket.com>
6 6 */
7 7
@@ -46,7 +46,7 @@ io.set('log level', 1);
46 46 server.listen(PORT);
47 47
48 48 var ticker = "";
49   -app.get('/:ticker/', function(req, res) {
  49 +app.get('/:ticker', function(req, res) {
50 50 ticker = req.params.ticker;
51 51 res.sendfile(__dirname + '/index.html');
52 52 });

0 comments on commit 66876fe

Please sign in to comment.
Something went wrong with that request. Please try again.