Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Commit

Permalink
added conditional SSE_ENDPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslara committed Jan 22, 2015
1 parent d282b2c commit 16223ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion botbot/templates/logs/logs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
<<<<<<< HEAD
{% load channel_url assets logs_tags %}


Expand Down
3 changes: 2 additions & 1 deletion botbot/urls/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
url(r'^request/success/$', 'django.shortcuts.render',
{'template_name': 'bots/request_success.html'}, name='request_channel_success'),
url(r'^map/$', 'django.shortcuts.render',
{'template_name': 'map.html'}, name='realtime_map'),
{'template_name': 'map.html', 'dictionary': {'source': settings.SSE_ENDPOINT}} ,
name='realtime_map'),

(r'^settings/', include('botbot.apps.accounts.urls')),
url(r'^_suggest_users/$', SuggestUsers.as_view(), name='suggest_users'),
Expand Down

0 comments on commit 16223ad

Please sign in to comment.