mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-03-16 22:40:24 +00:00
Normalise paths in dddp.server.views before comparison.
This commit is contained in:
parent
7663405702
commit
5939d47af6
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,8 @@ class MeteorView(View):
|
|||
|
||||
def get(self, request, path):
|
||||
"""Return HTML (or other related content) for Meteor."""
|
||||
if path[:1] != '/':
|
||||
path = '/%s' % path
|
||||
if path == '/meteor_runtime_config.js':
|
||||
config = {
|
||||
'DDP_DEFAULT_CONNECTION_URL': request.build_absolute_uri('/'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue