diff app.js @ 999:f73ca04d73a7 stammdatengrids

Refactored Server URL
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 14:50:28 +0100
parents b21421ba6917
children 9ac03f461ab4
line wrap: on
line diff
--- a/app.js	Thu Dec 10 08:30:14 2015 +0100
+++ b/app.js	Wed Jan 13 14:50:28 2016 +0100
@@ -71,7 +71,7 @@
             Lada.openIDParams = queryString;
         }
         Ext.Ajax.request({
-            url: 'lada-server/user',
+            url: 'lada-server/rest/user',
             method: 'GET',
             scope: this,
             success: this.onLoginSuccess,
@@ -179,7 +179,7 @@
     getServerVersion: function() {
         var i18n = Lada.getApplication().bundle;
         Ext.Ajax.request({
-            url: 'lada-server/version',
+            url: 'lada-server/rest/version',
             method: 'GET',
             headers: {
                 'X-OPENID-PARAMS': Lada.openIDParams

http://lada.wald.intevation.org