on-internet
← Community

gconf are not setting properly in Yaws

Stack Overflow ·

I am only using Yaws to serve dynamic content via handlers (for example, serving API responses or dynamic pages via Erlang modules). I don't need a document root at all. Here is supervisor where I am initializing Yawsusingyaws_api:embedded_start_conf/1`. I even tried to add the gconfig manually again with yaws_api:setconf(GlobalConf, [[ServerConf]]) but global config are not set. %%%------------------------------------------------------------------- %% @doc myapp top level supervisor. %% @end %%%------------------------------------------------------------------- -module(myapp_sup). -behaviour(

Comments

Sign in or sign up to comment and upvote.

No comments yet.