Compare commits

...

1 Commits
main ... ai-dev

Author SHA1 Message Date
Flatlogic Bot
1d1e8b9311 Autosave: 20260313-104132 2026-03-13 10:41:32 +00:00
4 changed files with 20 additions and 1 deletions

0
.perm_test_apache Normal file
View File

0
.perm_test_exec Normal file
View File

17
db/config.php Normal file
View File

@ -0,0 +1,17 @@
<?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,7 +68,9 @@ export default defineConfig(({ mode }) => ({
}, },
}, },
server: { server: {
port: 3000, port: 3001,
host: "0.0.0.0",
allowedHosts: true,
}, },
test: { test: {
globals: true, globals: true,