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

Access to incorrect hostname needs error re: cross-domain #356

Closed
julianlam opened this issue Sep 29, 2013 · 1 comment
Closed

Access to incorrect hostname needs error re: cross-domain #356

julianlam opened this issue Sep 29, 2013 · 1 comment
Assignees
Milestone

Comments

@julianlam
Copy link
Member

If a NodeBB is set up with a certain base_url, and accessed via another base_url (that still points to the same machine), NodeBB loads but all calls to retrieve template data fail, as it is a cross-domain XHR.

The template engine needs a .fail() added on to throw a modal notifying the user that they're accessing the incorrect url, and provide a link to the actual URL.

This is a band-aid solution, there may be a way to resolve this problem altogether

Re: issues #355, #342, others.

@ghost ghost assigned psychobunny Sep 29, 2013
@julianlam
Copy link
Member Author

Scratch all of this, fix incoming.

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

No branches or pull requests

2 participants