Remove teleport feature

This commit is contained in:
Gregoire Parant 2020-10-15 12:12:11 +02:00
parent 8df56204e3
commit 38d2cc9a8c
5 changed files with 3 additions and 67 deletions

View file

@ -8,11 +8,4 @@ export class BaseController {
res.writeHeader('access-control-allow-methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
res.writeHeader('access-control-allow-origin', '*');
}
protected checkAdminToken(req: HttpRequest): void {
//TODO
/*if(req.getHeader('Authorization') !== ADMIN_API_TOKEN){
throw 'Error token api';
}*/
}
}