Преглед изворни кода

updated property docs in config.js

Torkel Ödegaard пре 12 година
родитељ
комит
b939c02da0
1 измењених фајлова са 7 додато и 1 уклоњено
  1. 7 1
      src/config.js

+ 7 - 1
src/config.js

@@ -9,11 +9,17 @@ function (Settings) {
 
 
   return new Settings({
   return new Settings({
 
 
+    /**
+     * elasticsearch url:
+     * For Basic authentication use: http://username:password@domain.com:9200
+     */
     elasticsearch: "http://"+window.location.hostname+":9200",
     elasticsearch: "http://"+window.location.hostname+":9200",
 
 
     /**
     /**
+     * graphite-web url:
      * For Basic authentication use: http://username:password@domain.com
      * For Basic authentication use: http://username:password@domain.com
-     * Basic authentication requires special nginx or apache2 headers for cross origin comain to work
+     * Basic authentication requires special HTTP headers to be configured
+     * in nginx or apache for cross origin domain sharing to work (CORS).
      * Check install documentation on github
      * Check install documentation on github
      */
      */
     graphiteUrl: "http://"+window.location.hostname+":8080",
     graphiteUrl: "http://"+window.location.hostname+":8080",