فهرست منبع

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({
 
+    /**
+     * elasticsearch url:
+     * For Basic authentication use: http://username:password@domain.com:9200
+     */
     elasticsearch: "http://"+window.location.hostname+":9200",
 
     /**
+     * graphite-web url:
      * 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
      */
     graphiteUrl: "http://"+window.location.hostname+":8080",