import gorilla/handlers

This commit is contained in:
kenneth
2023-12-04 09:38:57 +00:00
parent 30c5ed2452
commit 3e80490a2e
5 changed files with 57 additions and 9 deletions

View File

@@ -47,7 +47,7 @@
let that = $(this)
that.attr("disable", true).html('转码中...')
let id = that.attr("data-id")
let csrfToken = $('input[name="gorilla.csrf.Token"]').val()
let csrfToken = $('input[name="csrf_token"]').val()
$.ajax({
url: '/transfer/' + id,
type: 'post',
@@ -66,7 +66,7 @@
let that = $(this)
that.attr("disable", true).html('删除中...')
let id = that.attr("data-id")
let csrfToken = $('input[name="gorilla.csrf.Token"]').val()
let csrfToken = $('input[name="csrf_token"]').val()
$.ajax({
url: '/me/videos/delete',
type: 'post',