try to add and use shrinko8

This commit is contained in:
dylan
2024-03-31 13:49:09 -07:00
parent d606a8002f
commit c003955c3d
9 changed files with 117 additions and 75 deletions

View File

@@ -3,8 +3,15 @@ import Fastify from 'fastify'
import fastifyStatic from '@fastify/static'
import { routeList } from "./routelist.ts";
import { route } from "./util/routewrap.ts";
import { git } from './util/git.ts';
import path from "path";
import {fileURLToPath} from 'url';
const __dirname = fileURLToPath(new URL('.', import.meta.url));
console.log(process.env["DATABASE_URL"]);
await git.clone({
from: "https://github.com/thisismypassport/shrinko8/tree/v1.1.2",
to: path.resolve(__dirname, "shrinko8"),
});
const server = Fastify({
logger: true