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

Use root_path in sse URL #185

Merged
merged 1 commit into from
Nov 4, 2014
Merged

Use root_path in sse URL #185

merged 1 commit into from
Nov 4, 2014

Conversation

dscerri
Copy link
Contributor

@dscerri dscerri commented Oct 8, 2014

Previously, when an app was mounted at anything other than '/', the SSE functionality of the debug toolbar was failing as it was assuming it could hit /debug_toolbar/sse. This PR adds a change so that the template uses the 'root_path' variable to determine the sse url. This root_path was already being passed in, just not used.

Change toolbar mako file so that sse urls use the passed in root path rather than assuming the toolbar is at /.
mmerickel added a commit that referenced this pull request Nov 4, 2014
Use root_path in sse URL
@mmerickel mmerickel merged commit 2b46c42 into Pylons:master Nov 4, 2014
@mmerickel
Copy link
Member

Nice fix, thanks!

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.

2 participants