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 2018-01-31 12:54:28 +05:30 committed by Sunil Mohan Adapa
parent d83bbd1564
commit 6df6830533
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 3 additions and 5 deletions

View File

@ -24,6 +24,6 @@ clients = validate([{
_('JSXC'),
'platforms': [{
'type': 'web',
'url': '/jsxc'
'url': '/plinth/apps/jsxc/jsxc/'
}]
}])

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')
]