mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-25 20:03:59 -05:00
allnet.ts: Rename from startup.ts
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user