add docker

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-10-11 21:34:53 +02:00
parent 903fd155c3
commit 8510d7889d
8 changed files with 75 additions and 33 deletions

View File

@@ -1,6 +1,5 @@
import { NextFunction, Request, Response } from "express"
import { db } from "../db"
import { verifyPassword } from "../services/password"
export async function authMiddleware(req: Request, res: Response, next: NextFunction) {
const secret = req.headers['mixan-client-secret'] as string | undefined