mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
d83bbd1564
commit
6df6830533
@ -24,6 +24,6 @@ clients = validate([{
|
|||||||
_('JSXC'),
|
_('JSXC'),
|
||||||
'platforms': [{
|
'platforms': [{
|
||||||
'type': 'web',
|
'type': 'web',
|
||||||
'url': '/jsxc'
|
'url': '/plinth/apps/jsxc/jsxc/'
|
||||||
}]
|
}]
|
||||||
}])
|
}])
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License
|
# 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/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
"""
|
"""
|
||||||
URLs for the JSXC module
|
URLs for the JSXC module
|
||||||
"""
|
"""
|
||||||
@ -23,8 +22,7 @@ from django.conf.urls import url
|
|||||||
|
|
||||||
from .views import JSXCServiceView, JsxcView
|
from .views import JSXCServiceView, JsxcView
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^apps/jsxc$', JSXCServiceView.as_view(), name='index'),
|
url(r'^apps/jsxc/$', JSXCServiceView.as_view(), name='index'),
|
||||||
url(r'^apps/jsxc/jsxc$', JsxcView.as_view(), name='jsxc')
|
url(r'^apps/jsxc/jsxc/$', JsxcView.as_view(), name='jsxc')
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user