4get/src/ami4get.php
ngn 4be33b2da1
All checks were successful
Build and publish the docker image / build (push) Successful in 10s
get rid of bot protection as well
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-19 07:31:43 +03:00

25 lines
518 B
PHP

<?php
header("Content-Type: application/json");
header("Access-Control-Allow-Origin: *");
include "data/config.php";
echo json_encode(
[
"status" => "ok",
"service" => "4get",
"server" => [
"name" => config::SERVER_NAME,
"description" => config::SERVER_LONG_DESCRIPTION,
"bot_protection" => config::BOT_PROTECTION,
"real_requests" => 0,
"bot_requests" => 0,
"api_enabled" => false,
"alt_addresses" => config::ALT_ADDRESSES,
"version" => config::VERSION
],
"instances" => []
]
);