Compare commits

..

No commits in common. "ai-dev" and "main" have entirely different histories.
ai-dev ... main

4 changed files with 1 additions and 20 deletions

View File

View File

View File

@ -1,17 +0,0 @@
<?php
// Generated by setup_mariadb_project.sh — edit as needed.
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'app_39166');
define('DB_USER', 'app_39166');
define('DB_PASS', 'd26b3bc4-2031-4ab8-9120-f530a7ab7e95');
function db() {
static $pdo;
if (!$pdo) {
$pdo = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8mb4', DB_USER, DB_PASS, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
}
return $pdo;
}

View File

@ -68,9 +68,7 @@ export default defineConfig(({ mode }) => ({
}, },
}, },
server: { server: {
port: 3001, port: 3000,
host: "0.0.0.0",
allowedHosts: true,
}, },
test: { test: {
globals: true, globals: true,