fix pacman highscore

This commit is contained in:
Boof 2023-05-30 14:03:28 +02:00 committed by GitHub
parent 6ed6c893ce
commit 65461b302c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 16 deletions

View File

@ -3,7 +3,7 @@
/* IMPORTANT:
* change this to the main url of where you host the application, otherwise, every entry will be marked as a cheater
*/
$hostdomain = 'boof.eu.org/Pacman';
$hostdomain = 'boof.eu.org/Games/Pacman';
if (isset($_POST['action'])) {
switch ($_POST['action']) {

View File

@ -48,7 +48,7 @@ function geronimo() {
$.ajax({
datatype: "json",
type: "GET",
url: "data/db-handler.php",
url: "https://boofcdn.rf.gd/pacman/db-handler.php",
data: {
timestamp: date,
action: "get"
@ -65,7 +65,7 @@ function geronimo() {
$.ajax({
type: 'POST',
url: 'data/db-handler.php',
url: 'https://boofcdn.rf.gd/pacman/db-handler.php',
data: {
action: 'add',
name: n,

View File

@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="index.js"></script>
</head>
<body>
</body>
</html>