Fix types
This commit is contained in:
@@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user