subdomains
This plugin supprots only Hapi
subdomains plugin adds subdomains & subdomain properties to request object
Usage
// file: server.jsconst subdomains = ; server;
Example
http://users.kiprosh.trackive.com
// file server.js "use strict";const subdomains = ;const Hapi = ; // Create a server with a host and portconst server = Hapi; // Add the routeserver; server; // Start the server { try await serverstart; catch err console; process; console;} ;
CONTRIBUTING
Whether you are a novice or experienced software developer, all contributions and suggestions are welcome!
-
Clone repo
git clone https://github.com/vemarav/subdomains.git -
Add features or bug fixes
-
Make a Pull Request
OR
Report a bug here
Feel free to contribute, hosted on ❤️ with Github.
LICENSE
Package published under MIT License