Update dependencies 🚀
This commit is contained in:
parent
50598bcefb
commit
f7a328d66e
21 changed files with 837 additions and 517 deletions
|
|
@ -10,7 +10,7 @@ import { ensure } from '../../../prelude/ensure';
|
|||
import { verifyLogin, hash } from '../2fa';
|
||||
import { randomBytes } from 'crypto';
|
||||
|
||||
export default async (ctx: Koa.BaseContext) => {
|
||||
export default async (ctx: Koa.Context) => {
|
||||
ctx.set('Access-Control-Allow-Origin', config.url);
|
||||
ctx.set('Access-Control-Allow-Credentials', 'true');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue