mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-20 02:08:58 -05:00
feat: support elastic backend (#124)
* feat: support elastic backend * refactor: cleanup code
This commit is contained in:
committed by
GitHub
parent
a94e773d61
commit
f442cd5826
@@ -5,7 +5,17 @@ const chalk = require('chalk');
|
||||
const webpack = require('webpack');
|
||||
const WebpackDevServer = require('webpack-dev-server');
|
||||
|
||||
module.exports = async ({ host, port, enigmaConfig, snPath, snName, dev = false, open = true, watcher }) => {
|
||||
module.exports = async ({
|
||||
host,
|
||||
port,
|
||||
enigmaConfig,
|
||||
webIntegrationId,
|
||||
snPath,
|
||||
snName,
|
||||
dev = false,
|
||||
open = true,
|
||||
watcher,
|
||||
}) => {
|
||||
let config;
|
||||
let contentBase;
|
||||
|
||||
@@ -49,6 +59,7 @@ module.exports = async ({ host, port, enigmaConfig, snPath, snName, dev = false,
|
||||
app.get('/info', (req, res) => {
|
||||
res.json({
|
||||
enigma: enigmaConfig,
|
||||
webIntegrationId,
|
||||
supernova: {
|
||||
name: snName,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user