[Groonga-commit] droonga/droonga-http-server at 84cf0a2 [master] Provide admin page by "/"

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 27 18:06:45 JST 2014


Kouhei Sutou	2014-07-27 18:06:45 +0900 (Sun, 27 Jul 2014)

  New Revision: 84cf0a2e282358fdd5199b1de1e3c321a0cccb29
  https://github.com/droonga/droonga-http-server/commit/84cf0a2e282358fdd5199b1de1e3c321a0cccb29

  Message:
    Provide admin page by "/"

  Modified files:
    bin/droonga-http-server

  Modified: bin/droonga-http-server (+1 -2)
===================================================================
--- bin/droonga-http-server    2014-07-13 15:08:31 +0900 (8a3de7f)
+++ bin/droonga-http-server    2014-07-27 18:06:45 +0900 (e1fa219)
@@ -134,6 +134,7 @@ application.use(session({
   store:  sessionStore
 }));
 application.use(responseTime());
+application.use('/', express.static(path.normalize(__dirname + '/../public/groonga-admin')));
 if (options.cacheSize > 0) {
   var cacheMiddlewareRules = [
     { regex: /^\// }
@@ -171,8 +172,6 @@ application.droonga({
   plugins: options.plugins
 });
 
-application.use('/groonga-admin', express.static(path.normalize(__dirname + '/../public/groonga-admin')));
-
 server.listen(options.port);
 
 function shutdown() {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index