]> git.parisson.com Git - teleforma.git/commitdiff
fix publish button, rm docker compose version hotfix/publish-button
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 21 Oct 2024 21:15:00 +0000 (23:15 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 21 Oct 2024 21:15:00 +0000 (23:15 +0200)
docker-compose-dev.yml
docker-compose.yml
env/prod.yml
env/staging.yml
teleforma/static/teleforma/js/application.js
teleforma/urls.py

index 755236a94c560615b3e7ff01c4c22556ccfd24ea..20af271936fd2beaad92150470dc7c51660784a9 100644 (file)
@@ -1,5 +1,3 @@
-version: '3'
-
 services:
   app:
     build:
index 5c002efc87647a7e5d34c253492113540fe7233d..930e9896a8cabfe42c7f9529ded1d738339a9bbf 100644 (file)
@@ -1,5 +1,3 @@
-version: '3'
-
 services:
   app:
     build:
index 6e4e5c46f590aaea92764f6e9ae7598c67754bce..abb743042d49c4199fd9102556d477293fe7884c 100644 (file)
@@ -1,5 +1,3 @@
-version: '3'
-
 services:
   app:
     build:
index 385d87d98d42229e4acfd00c8a8cae8598825661..39c67b620f9add733cc86067e1edec1d36f12a3c 100644 (file)
@@ -1,5 +1,3 @@
-version: '3'
-
 services:
   app:
     build:
index 5f3517140191bb4f7160c95075ce251e2c0ca9a5..38bb61cd70d487b61dde33370e11d9668ca7ee62 100644 (file)
@@ -257,7 +257,7 @@ var json = function(param,method,onSuccessFcn,onErrorFcn){
     var $J = jQuery;
     $J.ajax({
         type: "POST",
-        url: 'json/',
+        url: '/json/',
         contentType: "application/json",
         data: data2send,
         dataType: "json",
index fe34d012dc315e2d5aa5174232af8bfa036a581a..fd490662e81fc39ebb15a9c94cddedffc7cc2d12 100644 (file)
@@ -229,11 +229,10 @@ urlpatterns = [
         NewsItemList.as_view(), name='newsitem-list'),
 
     # JSON RPC
-    url(r'json/$', jsonrpc_site.dispatch,
+    url(r'^json/$', jsonrpc_site.dispatch,
         name='jsonrpc_mountpoint'),
-    url(r'jsonrpc/$', jsonrpc_site.dispatch,
+    url(r'^jsonrpc/$', jsonrpc_site.dispatch,
         name='jsonrpc_mountpoint'),
-
     #    url(r'^private_files/', include('private_files.urls')),
 
     # EXAM