mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 21:13:46 -07:00
add redis db instead of sqlite
This commit is contained in:
parent
806f6dc07b
commit
f3c566b3ad
5 changed files with 143 additions and 398 deletions
|
|
@ -10,7 +10,7 @@ export const GET: APIRoute = async ({ params }) => {
|
|||
return new Response("Feed ID not provided", { status: 400 });
|
||||
}
|
||||
|
||||
const mapping = getFeedMapping(feedId);
|
||||
const mapping = await getFeedMapping(feedId);
|
||||
|
||||
if (!mapping) {
|
||||
return new Response("Feed not found", { status: 404 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue