mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
url refactoring
This commit is contained in:
@@ -56,7 +56,7 @@ function Atx() {
|
||||
var __clickButton = function(button, confirm_msg) {
|
||||
wm.confirm(confirm_msg).then(function(ok) {
|
||||
if (ok) {
|
||||
let http = tools.makeRequest("POST", "/kvmd/atx/click?button=" + button, function() {
|
||||
let http = tools.makeRequest("POST", "/api/atx/click?button=" + button, function() {
|
||||
if (http.readyState === 4) {
|
||||
if (http.status === 409) {
|
||||
wm.error("Performing another ATX operation for other client.<br>Please try again later");
|
||||
|
||||
Reference in New Issue
Block a user