Fix types

This commit is contained in:
syuilo 2019-01-22 21:42:05 +09:00
parent 97e8ac1d27
commit 8bf9e87117
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
11 changed files with 20 additions and 20 deletions

View file

@ -7,7 +7,7 @@ import { publishMainStream } from '../../../stream';
import signin from '../common/signin';
import config from '../../../config';
export default async (ctx: Koa.Context) => {
export default async (ctx: Koa.BaseContext) => {
ctx.set('Access-Control-Allow-Origin', config.url);
ctx.set('Access-Control-Allow-Credentials', 'true');