jsxc: consistent url format

Made urls end with a `/` character so that it's consistent with other apps.
plinth-tester would struggle to find the page otherwise.

Also update the client information in manifest to correct an incorrect URL to
launch JSXC.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Joseph Nuthalapati authored and Sunil Mohan Adapa committed 2018-01-31 15:09:18 +05:30
1 parent d83bbd1564
commit 6df6830533
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -24,6 +24,6 @@ clients = validate([{
_('JSXC'),
'platforms': [{
'type': 'web',
'url': '/jsxc'
'url': '/plinth/apps/jsxc/jsxc/'
}]
}])
+2 -4
View File
@@ -14,7 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""
URLs for the JSXC module
"""
@@ -23,8 +22,7 @@ from django.conf.urls import url
from .views import JSXCServiceView, JsxcView
urlpatterns = [
url(r'^apps/jsxc$', JSXCServiceView.as_view(), name='index'),
url(r'^apps/jsxc/jsxc$', JsxcView.as_view(), name='jsxc')
url(r'^apps/jsxc/$', JSXCServiceView.as_view(), name='index'),
url(r'^apps/jsxc/jsxc/$', JsxcView.as_view(), name='jsxc')
]