feat: throw 404 when movie/tv show doesnt exist

also adds site webmanifest for mobile icons and title changes for tv/movie pages
This commit is contained in:
sct
2020-11-24 02:19:04 +00:00
parent 886389a361
commit 0601b44687
15 changed files with 128 additions and 55 deletions

View File

@@ -8,7 +8,7 @@ const router = Router();
router.get('/', async (req, res) => {
const userRepository = getRepository(User);
const users = await userRepository.find({ relations: ['requests'] });
const users = await userRepository.find();
return res.status(200).json(User.filterMany(users));
});