Change server ping to POST method

Closes #4006
This commit is contained in:
Cohee
2025-05-17 16:50:02 +03:00
parent b093f71ae0
commit 213a619b33
3 changed files with 3 additions and 3 deletions

View File

@ -945,7 +945,7 @@ $.ajaxPrefilter((options, originalOptions, xhr) => {
export async function pingServer() {
try {
const result = await fetch('api/ping', {
method: 'GET',
method: 'POST',
headers: getRequestHeaders(),
});