[Groonga-commit] groonga/gcs [master] Fix built host name

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Wed Aug 22 17:56:20 JST 2012


YUKI Hiroshi	2012-08-22 17:56:20 +0900 (Wed, 22 Aug 2012)

  New Revision: e227ae46313e8639689932329e5ccb895ccc1c31
  https://github.com/groonga/gcs/commit/e227ae46313e8639689932329e5ccb895ccc1c31

  Log:
    Fix built host name

  Modified files:
    public/javascripts/gcs.js

  Modified: public/javascripts/gcs.js (+1 -0)
===================================================================
--- public/javascripts/gcs.js    2012-08-22 17:55:31 +0900 (4c715db)
+++ public/javascripts/gcs.js    2012-08-22 17:56:20 +0900 (da803fc)
@@ -45,6 +45,7 @@ function searchExecute() {
     hostAndPort[0] = '127.0.0.1';
   if (hostAndPort[0].match(/^\d+\.\d+\.\d+\.\d+$/))
     hostAndPort[0] += '.xip.io';
+  hostAndPort = hostAndPort.join(':');
   var searchEndpoint = 'http://search-' + domain + '-00000000000000000000000000.' + hostAndPort + '/2011-02-01/search';
   var perPage = 5;
   var start = parseInt($('form#search input[name="start"]').val() || '0', 10);
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index