mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 11:03:09 +02:00
Fix bug
This commit is contained in:
parent
2b5bad8d56
commit
256c3c2abd
1 changed files with 2 additions and 0 deletions
|
@ -6,8 +6,10 @@ import Signin from '../models/signin';
|
|||
import serialize from '../serializers/signin';
|
||||
import event from '../event';
|
||||
import signin from '../common/signin';
|
||||
import config from '../../conf';
|
||||
|
||||
export default async (req: express.Request, res: express.Response) => {
|
||||
res.header('Access-Control-Allow-Origin', config.url);
|
||||
res.header('Access-Control-Allow-Credentials', 'true');
|
||||
|
||||
const username = req.body['username'];
|
||||
|
|
Loading…
Reference in a new issue