allnet.ts: Rename from startup.ts

This commit is contained in:
Tau
2019-07-12 14:00:34 -04:00
parent 355f20c50b
commit 4a2b3f51a4
3 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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.