mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Fix bug
This commit is contained in:
parent
71f885a169
commit
51f046ec5a
@ -6,8 +6,10 @@ import Signin from '../models/signin';
|
|||||||
import serialize from '../serializers/signin';
|
import serialize from '../serializers/signin';
|
||||||
import event from '../event';
|
import event from '../event';
|
||||||
import signin from '../common/signin';
|
import signin from '../common/signin';
|
||||||
|
import config from '../../conf';
|
||||||
|
|
||||||
export default async (req: express.Request, res: express.Response) => {
|
export default async (req: express.Request, res: express.Response) => {
|
||||||
|
res.header('Access-Control-Allow-Origin', config.url);
|
||||||
res.header('Access-Control-Allow-Credentials', 'true');
|
res.header('Access-Control-Allow-Credentials', 'true');
|
||||||
|
|
||||||
const username = req.body['username'];
|
const username = req.body['username'];
|
||||||
|
Loading…
Reference in New Issue
Block a user