try to add and use shrinko8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user