Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anvil --host doesn't work #57

Open
szkrd opened this issue Feb 3, 2013 · 2 comments
Open

Anvil --host doesn't work #57

szkrd opened this issue Feb 3, 2013 · 2 comments

Comments

@szkrd
Copy link

szkrd commented Feb 3, 2013

No error message in console, but in the browser that's all I have (I tried adding index.html files to every directory, but it didn't help; as usual I'm on Win7):

Cannot GET /
@arobson
Copy link
Contributor

arobson commented Feb 4, 2013

@rosamez - the default port is 3080 and anvil should host your output directory at the root of the URL (by default this is "./lib"). Looks like this isn't working correctly, so I'll add this to the list of bugs to fix for 0.9.2. In the meantime, you can fix this with the following block in your build.json file:

{
    "httpPaths": {
        "/": "./lib"
    }
}

Hope that work around helps, I'll keep this issue open until the bug fix is published to NPM.

@szkrd
Copy link
Author

szkrd commented Feb 4, 2013

The forced httpPaths didn't help, sorry. Thanks for keeping the bug, hope this gets fixed (though without file watching it doesn't really matter anymore).

@arobson arobson mentioned this issue Feb 9, 2013
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

No branches or pull requests

2 participants