Compare commits
No commits in common. "ai-dev" and "main" have entirely different histories.
@ -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_39079');
|
||||
define('DB_USER', 'app_39079');
|
||||
define('DB_PASS', '2b0105bc-4afa-4604-9a94-a04d7f749d62');
|
||||
|
||||
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;
|
||||
}
|
||||
@ -4,9 +4,6 @@ let publicPath = process.env.NODE_ENV === 'production' ? 'sing-app-vue/' : '/';
|
||||
module.exports = {
|
||||
publicPath,
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
disableHostCheck: true,
|
||||
},
|
||||
configureWebpack: config => {
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
const terserWebpackPlugin = config.optimization.minimizer[0];
|
||||
@ -17,4 +14,4 @@ module.exports = {
|
||||
}
|
||||
config.resolve.alias["jquery"] = path.join(__dirname, "./jqueryStub.js");
|
||||
}
|
||||
};
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user