Commit 89b322c7 authored by naji's avatar naji
Browse files

fix: application service Id deployment + api mapping files front

parent b15b4e02
......@@ -46,5 +46,18 @@ db.applications.update(
{ "upsert":true }
);
db.applications.update({
"identifier" : "PASTIS_APP",
}, {
$set: {
{% if vitamui.pastis.base_url is defined %}
"serviceId": "^{{ vitamui.pastis.base_url }}/.*",
{% else %}
"serviceId": "^{{ url_prefix }}/pastis/.*",
{% endif %}
},
}
);
print("END 221_pastis_application_ref.js");
{
"apiPastisUrl": "http://vps795748.ovh.net:8080/rest",
"getProfileUrl": "/createprofile",
"uploadProfileUrl": "/profile",
"getFileUrl": "/getfile",
"getAllProfilesUrl": "/getprofiles",
"savePAasFileUrl": "/getarchiveprofile",
"savePUAasFileUrl": "/getarchiveunitprofile",
"editProfileUrl": "/edit"
}
{
"apiPastisUrl": "http://vps795748.ovh.net:8080/rest",
"getProfileUrl": "/createprofile",
"uploadProfileUrl": "/profile",
"getFileUrl": "/getfile",
"getAllProfilesUrl": "/getprofiles",
"savePAasFileUrl": "/getarchiveprofile",
"savePUAasFileUrl": "/getarchiveunitprofile",
"editProfileUrl": "/edit"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment