Commit 3317901c authored by Caillat Michel's avatar Caillat Michel
Browse files

requires dirs and uses dirs variable

parent bf7bf167
...@@ -7,15 +7,14 @@ const uuidv1 = require('uuid/v1'); ...@@ -7,15 +7,14 @@ const uuidv1 = require('uuid/v1');
const request = require('request'); const request = require('request');
const url = require('url'); const url = require('url');
const obj2gltf = require('obj2gltf'); const obj2gltf = require('obj2gltf');
const dirs = require('../dirs')
var ENTER = function () { console.log(arguments.callee.name + ": entering."); }; var ENTER = function () { console.log(arguments.callee.name + ": entering."); };
var EXIT = function () { console.log(arguments.callee.name + ": exiting."); }; var EXIT = function () { console.log(arguments.callee.name + ": exiting."); };
var PNG_ROOT_DIR = '/home/partemix/dataroot/PNG'; const PNG_ROOT_DIR = dirs.PNG_ROOT_DIR;
const OBJ_ROOT_DIR = dirs.OBJ_ROOT_DIR;
var OBJ_ROOT_DIR = '/home/partemix/dataroot/OBJ'; const SAMP_DIR = dirs.SAMP_DIR;
var SAMP_DIR = '/home/partemix/dataroot/SAMP';
var yafitssHost = process.env.YAFITSS_HOST; var yafitssHost = process.env.YAFITSS_HOST;
var yafitssPort = process.env.YAFITSS_PORT; var yafitssPort = process.env.YAFITSS_PORT;
......
Supports Markdown
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