diff --git a/src/startup.ts b/src/allnet.ts similarity index 100% rename from src/startup.ts rename to src/allnet.ts diff --git a/src/index.ts b/src/index.ts index 12288a7..e4cee78 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,12 +6,12 @@ import http = require("http"); import net = require("net"); import aimedb from "./aimedb"; +import allnet from "./allnet"; import billing from "./billing"; import chunithm from "./chunithm"; import diva from "./diva"; import idz from "./idz"; import idzPing from "./idz/ping"; -import startup from "./startup"; import * as Swb from "./switchboard"; const tls = { @@ -20,7 +20,7 @@ const tls = { }; net.createServer(aimedb).listen(Swb.PORT_AIMEDB, Swb.HOST_INT); -http.createServer(startup).listen(Swb.PORT_STARTUP, Swb.HOST_INT); +http.createServer(allnet).listen(Swb.PORT_ALLNET, Swb.HOST_INT); https.createServer(tls, billing).listen(Swb.PORT_BILLING, Swb.HOST_INT); http.createServer(chunithm).listen(Swb.PORT_CHUNITHM, Swb.HOST_INT); diff --git a/src/switchboard.ts b/src/switchboard.ts index 9e178c5..60d9db4 100644 --- a/src/switchboard.ts +++ b/src/switchboard.ts @@ -7,12 +7,12 @@ export const HOST_EXT = cfgHostExt !== undefined ? cfgHostExt : os.hostname(); export const HOST_INT = cfgHostInt !== undefined ? cfgHostInt : "127.0.0.1"; // -// Core services. These ports cannot be changed +// Core services. These ports cannot be changed. // export const PORT_AIMEDB = 22345; +export const PORT_ALLNET = 80; export const PORT_BILLING = 8443; -export const PORT_STARTUP = 80; // // Title services. These can be freely chosen.