Created
May 24, 2015 12:56
-
-
Save pdincau/ce754a4290d048799947 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cowboy static files: | |
src | |
priv | |
in priv | |
static/js | |
index.html | |
index referenzia js come <script src="/static/js/controllers.js"></script> | |
routes() -> | |
[{'_', [{"/", cowboy_static, {priv_file, instagram_listener, "index.html"}}, | |
{"/static/[...]", cowboy_static, {priv_dir, instagram_listener, "static"}}]}]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment