Fix routing
This commit is contained in:
parent
428cf8df35
commit
4ded4ded42
|
@ -34,7 +34,7 @@
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
var deactivate = function (source, itemid) {
|
var deactivate = function (source, itemid) {
|
||||||
fetch('deactivate/', {
|
fetch('/deactivate/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json; charset=UTF-8',
|
'Content-Type': 'application/json; charset=UTF-8',
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
var punt = function (source, itemid) {
|
var punt = function (source, itemid) {
|
||||||
fetch('punt/', {
|
fetch('/punt/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json; charset=UTF-8',
|
'Content-Type': 'application/json; charset=UTF-8',
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
var mdeactivate = function (items) {
|
var mdeactivate = function (items) {
|
||||||
fetch('mass-deactivate/', {
|
fetch('/mass-deactivate/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json; charset=UTF-8',
|
'Content-Type': 'application/json; charset=UTF-8',
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
var callback = function (source, itemid) {
|
var callback = function (source, itemid) {
|
||||||
fetch('callback/', {
|
fetch('/callback/', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json; charset=UTF-8',
|
'Content-Type': 'application/json; charset=UTF-8',
|
||||||
|
|
Loading…
Reference in New Issue