Fix types
This commit is contained in:
parent
97e8ac1d27
commit
8bf9e87117
11 changed files with 20 additions and 20 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue