Skip to content

Commit

Permalink
Merge pull request #239 from nightscout/hotfix/disable-websockets
Browse files Browse the repository at this point in the history
disable websockets for now, causing more trouble then it's worth
  • Loading branch information
jasoncalabrese committed Nov 10, 2014
2 parents baa6213 + 366222a commit ba84cfd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nightscout",
"version": "0.5.0",
"version": "0.5.1",
"dependencies": {
"angularjs": "1.3.0-beta.19",
"bootstrap": "~3.2.0",
Expand Down
4 changes: 2 additions & 2 deletions lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ var dir2Char = {
// reduce logging
io.set('log level', 0);

//Try for Websockets (Azure Supports if it's on) then fallback
//TODO: make websockets support an option
io.configure(function () {
io.set('transports', ['websocket','xhr-polling']);
io.set('transports', ['xhr-polling']);
});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Nightscout",
"version": "0.5.0",
"version": "0.5.1",
"description": "Nightscout acts as a web-based CGM (Continuous Glucose Montinor) to allow multiple caregivers to remotely view a patients glucose data in realtime.",
"license": "AGPL3",
"author": "Nightscout Team",
Expand Down
8 changes: 4 additions & 4 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<link rel="apple-touch-icon" href="/images/logomobile.png">
<title>NightScout</title>
<link href="/images/round1.png" rel="icon" id="favicon" type="image/png" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.5.0" />
<link rel="stylesheet" type="text/css" href="/css/main.css?v=0.5.1" />
<link rel="stylesheet" type="text/css" href="/css/dropdown.css" />
<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.5.0" />
<link rel="stylesheet" type="text/css" href="/css/drawer.css?v=0.5.1" />
<link rel="stylesheet" type="text/css" href="/bower_components/tipsy-jmalonzo/src/stylesheets/tipsy.css" />
</head>
<body>
Expand Down Expand Up @@ -186,8 +186,8 @@ <h1 class="customTitle">Nightscout</h1>
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/bower_components/jQuery-Storage-API/jquery.storageapi.min.js"></script>
<script src="/bower_components/tipsy-jmalonzo/src/javascripts/jquery.tipsy.js"></script>
<script src="/js/ui-utils.js?v=0.5.0"></script>
<script src="/js/client.js?v=0.5.0"></script>
<script src="/js/ui-utils.js?v=0.5.1"></script>
<script src="/js/client.js?v=0.5.1"></script>
<script src="/js/experiments.js"></script>
</body>
</html>

0 comments on commit ba84cfd

Please sign in to comment.