Application programming interface service server. A server-less-ish styled handler for multiple domains.
vhosts can be accessed by sub-domain and dropping the periods or by the domain its self (curl -H 'Host: test.com' localhost:8080)
const Path = ;const Apiss = ;const server =path: Path;await server;console;console;
port: Number(Default: 0)
host: String(Default: localhost)
instances: Number(Default: Os.cups().length)
path: String(Default: ./vhosts) Path to a folder containing folders which contain an index.js file with an array of exported Hapi.js route objects. The virtual host and cors origin is set for each folder based on the folder name.