mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
Mitigate CSRF attacks (#206)
This commit is contained in:
parent
97652be545
commit
031d2cb7e8
4 changed files with 47 additions and 33 deletions
|
@ -494,7 +494,7 @@
|
|||
$("#apply_config_confirm").click(function () {
|
||||
$.ajax({
|
||||
cache: false,
|
||||
method: 'GET',
|
||||
method: 'POST',
|
||||
url: '{{.basePath}}/api/apply-wg-config',
|
||||
dataType: 'json',
|
||||
contentType: "application/json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue