Fix Coolify URLs and database config
This commit is contained in:
@@ -10,10 +10,10 @@ header("Access-Control-Allow-Headers: Content-Type");
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { http_response_code(200); exit(); }
|
||||
|
||||
// ── KONFIGURASI ──────────────────────────────────────────────
|
||||
$host = "localhost";
|
||||
$host = "tocg40440408gocww0c8osgc";
|
||||
$dbname = "default";
|
||||
$username = "root";
|
||||
$password = "";
|
||||
$username = "mysql";
|
||||
$password = "sjQiQ0OnycL1bhCEzywCfN41cWHGFmBzQXiEr0P3RiMrFlq3pvI2lowKRDDmOhAN";
|
||||
|
||||
try {
|
||||
$pdo = new PDO("mysql:host=$host;dbname=$dbname;charset=utf8mb4", $username, $password);
|
||||
|
||||
Reference in New Issue
Block a user