Fix routing

This commit is contained in:
Tim Van Baak 2020-12-29 20:15:09 -08:00
parent 428cf8df35
commit 4ded4ded42
1 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@
</style>
<script>
var deactivate = function (source, itemid) {
fetch('deactivate/', {
fetch('/deactivate/', {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
@ -50,7 +50,7 @@
});
};
var punt = function (source, itemid) {
fetch('punt/', {
fetch('/punt/', {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
@ -66,7 +66,7 @@
});
};
var mdeactivate = function (items) {
fetch('mass-deactivate/', {
fetch('/mass-deactivate/', {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
@ -78,7 +78,7 @@
});
};
var callback = function (source, itemid) {
fetch('callback/', {
fetch('/callback/', {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',