node.js - Is it possible to configure which folder geddy.js is going to use as 'public'? -


this basic webapp folder structure:

-> server    |-> geddy.js files (is rest app) -> client (angularjs managed yeoman)    |-> app    |-> test    |-> [...] 

as in development mode have not yet 'built' client app public folder of geddy.js app. possible point 'public' directory 'client/app' directory via config setting? or totally using wrong approach?

thanks

found solution looking in terminal output. prints config object:

var config = {  detailederrors: true  , debug: true  , hostname: null  , staticfilepath: 'path/to/public' [..] 

};

so adding:

staticfilepath: 'path/to/public' 

to config object makes sense :)


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -