Skip to content

Conversation

@nisbus
Copy link

@nisbus nisbus commented Dec 30, 2012

The commit's are a bit of a mess (a rebase gone haywire) but I think the changes are good.

I was testing this for my own site (not running there yet) and I found that when reltool included crypto, ezwebframe would crash since it would already have been started.

Also I created my own application using ezwebframe as a dependency and put all my html/css/js into the priv_dir. Calling for index.html didn't work that way but it works with these changes.

nisbus added 6 commits December 30, 2012 19:50
of the application.
Also removed the recevie after infinity in the start functions so the shell is now
operational when starting the app.
…cation was already started.

Fixed the loading of index.html if it's located in the priv_dir
of the application.
Also removed the recevie after infinity in the start functions so the shell is now
operational when starting the app.
@nisbus
Copy link
Author

nisbus commented Dec 31, 2012

This is my home.erl dispatch method:

dispatch('/') ->
Dir = code:priv_dir(eznisbus),
Dir++"index.html";
dispatch(F) ->
Dir = code:priv_dir(eznisbus),
Dir++ F.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant