manual port + cache
All checks were successful
Integration / validate (push) Successful in 9s

This commit is contained in:
SimonFJ20 2024-09-26 01:41:32 +02:00
parent 14bfbc2d5c
commit 551c6e5246
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"tasks": {
"check": "deno check main.ts",
"dev": "deno run -A --unstable-ffi --env main.ts",
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --env main.ts",
"compile": "deno compile --allow-net --allow-read --allow-env --allow-write --allow-ffi --allow-run --unstable-ffi --output bunker --include 'https://deno.land/x/bcrypt@v0.4.1/src/worker.ts' main.ts",
"reset-db": "rm -rf bunker.db && sqlite3 bunker.db '.read database.sql'"
}
}

View File

@ -1,7 +1,6 @@
import * as sqlite from "jsr:@db/sqlite@0.11";
import * as oak from "jsr:@oak/oak@14";
import * as bcrypt from "https://deno.land/x/bcrypt@v0.4.1/mod.ts";
import * as _bcrypt_worker from "https://deno.land/x/bcrypt@v0.4.1/src/worker.ts";
type User = {
id: number;