diff options
author | Phie <phie@phie.ovh> | 2018-10-07 16:27:38 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2018-10-07 16:27:38 +0300 |
commit | 84ccfe90c5afd257f964a56207cfd10b3310ba32 (patch) | |
tree | d3dd8bb4c3dd3a0f7dd9b3554efba8c5ac0bda70 /main.js | |
parent | 352083e71a73aee3847a2979ed6e6f947536e03e (diff) |
starting implementing false server
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -222,7 +222,10 @@ exports.getPath = function (path) { return app.getPath(path) } +exports.sendRequestToServer = function (method, path, data, callback) { + server.handle(method, path, data, callback); +} + exports.createWindow = createWindow; var server = require("./server/server"); -server.startListening();
\ No newline at end of file |