GITLAB
Komodo
/ komodo-gw-st24
Toggle navigation
Sign in
Sign in
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Commits
Compare
Branches
1
Tags
46
Stats
Compare View
switch
from
...
to
Commits (2)
54990eb8c
Sample apiserver config
Browse Code »
Adhidarma Hadiwinoto
2018-06-28 15:00:03 +0700
c9d1528bd
2.1.2
Browse Code »
Adhidarma Hadiwinoto
2018-06-28 15:00:28 +0700
Changes
Showing
3 changed files
Side-by-side Diff
config.sample.json
index.js
package.json
config.sample.json
Diff comments
View file @
c9d1528
...
...
@@ -25,6 +25,10 @@
25
25
"control_panel": {
26
26
"listen_port": 27441
27
27
},
28
+ "apiserver": {
29
+ "port": 27442,
30
+ "apikey": "PLEASE_CHANGE_ME"
31
+ },
28
32
"advice_max_age_ms": 0,
29
33
"advice_is_topuprequest": false,
30
34
"responsecode_tag": null,
index.js
Diff comments
View file @
c9d1528
1
1
"use strict";
2
2
process.chdir(__dirname);
3
3
4
+const apiserver = require('komodo-sdk/api-server');
4
5
const pullgw = require('komodo-sdk/gateway/pull');
5
6
const partner = require('./lib/partner');
6
7
const reverseReport = require('./lib/reverse-report');
package.json
Diff comments
View file @
c9d1528
1
1
{
2
2
"name": "komodo-gw-st24",
3
- "version": "2.1.
1
",
3
+ "version": "2.1.
2
",
4
4
"description": "Komodo Gateway to ST24 XML-RPC",
5
5
"main": "index.js",
6
6
"scripts": {