mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
update the readme, remove java requirement
This commit is contained in:
parent
6eacb05fdf
commit
4e74d435b8
3 changed files with 12 additions and 2 deletions
|
@ -18,9 +18,8 @@ Kibana is an open source (Apache Licensed), browser based analytics and search d
|
|||
|
||||
## Requirements
|
||||
|
||||
- Java
|
||||
- Elasticsearch version 1.4.0 or later
|
||||
- ...and nothing else
|
||||
- Kibana binary package
|
||||
|
||||
*Note:* Groovy scripting must be enabled in Elasticsearch
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ if (app.get('env') === 'development') {
|
|||
// TODO: WE might want to move the middleware to each of the individual routes
|
||||
// so we don't have weird conflicts in the future.
|
||||
app.use('/elasticsearch', proxy);
|
||||
app.use('/enforcer', require('./lib/enforce'));
|
||||
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({ extended: false }));
|
||||
|
@ -40,6 +41,7 @@ if (config.external_plugins_folder) app.use('/plugins', express.static(config.ex
|
|||
|
||||
app.use('/', routes);
|
||||
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
app.use(function (req, res, next) {
|
||||
var err = new Error('Not Found');
|
||||
|
|
9
src/server/lib/enforce.js
Normal file
9
src/server/lib/enforce.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue