Updates
This commit is contained in:
parent
711e989ecd
commit
0c18649c1d
@ -1,4 +1,4 @@
|
||||
FROM oven/bun:1.3-debian
|
||||
FROM oven/bun:1.2-debian
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y curl bash nano wget zip unzip
|
||||
|
||||
@ -10,8 +10,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@moduletrace/buncid": "^1.0.7",
|
||||
"@moduletrace/bunext": "^1.0.40",
|
||||
"@moduletrace/datasquirel": "^5.7.51",
|
||||
"@moduletrace/bunext": "^1.0.42",
|
||||
"@moduletrace/datasquirel": "^5.7.57",
|
||||
"gray-matter": "^4.0.3",
|
||||
"html-to-react": "^1.7.0",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@ -2,7 +2,6 @@ import Button from "@/src/components/lib/layout/Button";
|
||||
import Divider from "@/src/components/lib/layout/Divider";
|
||||
import H1 from "@/src/components/lib/layout/H1";
|
||||
import H2 from "@/src/components/lib/layout/H2";
|
||||
import Link from "@/src/components/lib/layout/Link";
|
||||
import P from "@/src/components/lib/layout/P";
|
||||
import Row from "@/src/components/lib/layout/Row";
|
||||
import Section from "@/src/components/lib/layout/Section";
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import Row from "@/src/components/lib/layout/Row";
|
||||
import Span from "@/src/components/lib/layout/Span";
|
||||
import { PropsWithChildren } from "react";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
@ -14,9 +15,21 @@ export default function Footer({}: Props) {
|
||||
"w-full flex flex-row items-center px-6 mt-auto",
|
||||
)}
|
||||
>
|
||||
<Span className="text-sm opacity-40">
|
||||
Copyright © {date.getFullYear()} Tben.me. All Rights Reserved.
|
||||
<Row className="w-full justify-between">
|
||||
<Span className="text-sm opacity-70">
|
||||
Copyright © {date.getFullYear()} Tben.me. All Rights
|
||||
Reserved.
|
||||
</Span>
|
||||
<Span className="text-sm opacity-70">
|
||||
Made with{" "}
|
||||
<a
|
||||
href="https://github.com/Moduletrace/bunext"
|
||||
target="_blank"
|
||||
>
|
||||
Bunext
|
||||
</a>
|
||||
</Span>
|
||||
</Row>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
import { SQL } from "bun";
|
||||
|
||||
let sql_object: any;
|
||||
|
||||
const sql = new SQL({
|
||||
adapter: "mariadb",
|
||||
hostname: process.env.DSQL_DB_HOST,
|
||||
@ -12,7 +14,10 @@ const sql = new SQL({
|
||||
idleTimeout: 30000,
|
||||
maxLifetime: 60 * 60 * 1000,
|
||||
onclose(err) {
|
||||
sql.connect();
|
||||
sql_object?.connect();
|
||||
},
|
||||
onconnect(err) {
|
||||
sql_object = sql;
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user