Commit 152c9c4c authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1121 Allow to require files from a Duniter server

parent 283afb28
......@@ -599,6 +599,14 @@ export class Server extends stream.Duplex implements HookableServer {
return wrongs
}
/*****************
* MODULES UTILITIES
****************/
requireFile(path:string) {
return require('./' + path)
}
/*****************
* MODULES PLUGS
****************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment