Add https server

This commit is contained in:
Asher
2019-07-11 17:12:52 -05:00
parent 81862d4fa1
commit 2b2aa9a211
20 changed files with 405 additions and 186 deletions

9
scripts/nbin-shim.js Normal file
View File

@@ -0,0 +1,9 @@
if (!global.NBIN_LOADED) {
try {
const nbin = require("nbin");
nbin.shimNativeFs("{{ROOT_PATH}}");
global.NBIN_LOADED = true;
} catch (error) {
// Not in the binary.
}
}