Linting RULES AGAIN, and removing warning error for tailwind
This commit is contained in:
parent
a5fcffa344
commit
fd176658dd
@ -8,9 +8,6 @@ import { Chapter } from "@/lib/types";
|
|||||||
const BASE_URL = process.env.BASE_URL || "http://localhost:3000";
|
const BASE_URL = process.env.BASE_URL || "http://localhost:3000";
|
||||||
|
|
||||||
export async function GET(){
|
export async function GET(){
|
||||||
const now = new Date();
|
|
||||||
const yesterday = subDays(now, 1);
|
|
||||||
|
|
||||||
const data = await fetchChaptersRSS();
|
const data = await fetchChaptersRSS();
|
||||||
|
|
||||||
const feed = new RSS({
|
const feed = new RSS({
|
||||||
@ -32,7 +29,7 @@ export async function GET(){
|
|||||||
|
|
||||||
const xml = feed.xml({ indent: true });
|
const xml = feed.xml({ indent: true });
|
||||||
|
|
||||||
return new Response(xml, {
|
return new NextResponse(xml, {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/xml",
|
"Content-Type": "application/xml",
|
||||||
},
|
},
|
||||||
|
@ -17,6 +17,5 @@ export default {
|
|||||||
darkMode: "class",
|
darkMode: "class",
|
||||||
plugins: [
|
plugins: [
|
||||||
require("@tailwindcss/typography"),
|
require("@tailwindcss/typography"),
|
||||||
require("@tailwindcss/line-clamp"),
|
|
||||||
require('@tailwindcss/aspect-ratio')],
|
require('@tailwindcss/aspect-ratio')],
|
||||||
} satisfies Config;
|
} satisfies Config;
|
||||||
|
Loading…
Reference in New Issue
Block a user