Autosave: 20260222-104031

This commit is contained in:
Flatlogic Bot 2026-02-22 10:40:31 +00:00
parent dfbd467960
commit c13dc18df2
5 changed files with 21 additions and 8 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_38683');
define('DB_USER', 'app_38683');
define('DB_PASS', '4a2fcf37-215a-4b4c-9845-b6bd764e7067');
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

@ -4,7 +4,6 @@ import { useTheme } from "styles/mui";
import { Badge, Chip, Button } from '../../components/Wrappers';
import Tabs from './Components/Tabs';
import Donut from './Components/DonutChart';
import RNSWidget from './Components/RNSWIdget';
import ToDo from './Components/ToDo';
import Calendar from './Components/Calendar/Calendar';
import MediaBlock from './Components/MediaBlock';
@ -105,11 +104,7 @@ function Profile() {
<Donut />
</Widget>
</Grid>
<Grid size={{ xs: 12, sm: 4, md: 4, lg: 12 }}>
<Widget>
<RNSWidget/>
</Widget>
</Grid>
</Grid>
</Grid>
<Grid size={{ xs: 12, lg: 4 }}>

View File

@ -67,7 +67,8 @@ export default defineConfig(({ mode }) => ({
},
},
server: {
port: 3000,
port: 3001,
allowedHosts: true,
},
test: {
globals: true,
@ -76,4 +77,4 @@ export default defineConfig(({ mode }) => ({
css: true,
fileParallelism: false,
},
}));
}));