xhr status of 0 is valid as well, some platforms when loading from file: url do not report 200
diff --git a/www/medic.js b/www/medic.js
index a0a4f17..f94365c 100644
--- a/www/medic.js
+++ b/www/medic.js
@@ -38,7 +38,7 @@
   var xhr = new XMLHttpRequest();
   xhr.open("GET", "../medic.json", true);
   xhr.onload = function() {
-    if (xhr.readyState == 4 && xhr.status == 200) {
+    if (xhr.readyState == 4 && (xhr.status == 0 || xhr.status == 200)) {
       var cfg = JSON.parse(xhr.responseText);
       exports.logurl = cfg.couchdb || cfg.logurl;
       exports.enabled = true;