mirror of
https://github.com/arnaucube/raspberryGPIOhtmlserver.git
synced 2026-02-08 04:06:43 +01:00
19 lines
386 B
JavaScript
Executable File
19 lines
386 B
JavaScript
Executable File
var path = require('path');
|
|
|
|
var root = path.join(__dirname, '../');
|
|
exports.dir = {
|
|
root : root,
|
|
lib : root + '/lib',
|
|
fixture : root + '/test/fixture',
|
|
tmp : root + '/test/tmp',
|
|
};
|
|
|
|
exports.port = 13532;
|
|
|
|
exports.formidable = require('..');
|
|
exports.assert = require('assert');
|
|
|
|
exports.require = function(lib) {
|
|
return require(exports.dir.lib + '/' + lib);
|
|
};
|