Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions app/api/problems/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,6 @@ export async function POST(
totalPenalty += Number(hints[hintIndex].pointsDeduction) || 0;
}
});

// Note: Penalty was already deducted when hints were used
// So we don't deduct again, but we can show the effective points earned
console.log(
`User ${user._id} solved with ${totalPenalty} points already deducted from hints`
);
Expand Down
30 changes: 15 additions & 15 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import Link from "next/link";
import Image from "next/image";
import image from '@/public/404.png'
export default function NotFound() {
return (
<div className="mt-[90px] h-[70vh] w-[50vw] mx-auto my-0 flex flex-col justify-center items-center gap-4">
<div className="absolute circlePosition w-screen sm:w-[590px] h-[400px] bg-gradient-to-r from-red-500 rounded-[100%] top-[50%] left-[50%] blur-[90px] translate-x-[-50%] translate-y-[-50%] z-[-1]" />
<h2 className="text-center text-3xl sm:text-3xl font-extrabold text-gray-600">
OOPS! <span className="text-red-500">Page Not Found!</span>😥
</h2>
<div className="">
<Image src={image} alt="404image" height={250} width={400} />
import Link from "next/link";
import Image from "next/image";
import image from '@/public/404.png'
export default function NotFound() {
return (
<div className="mt-[90px] h-[70vh] w-[50vw] mx-auto my-0 flex flex-col justify-center items-center gap-4">
<div className="absolute circlePosition w-screen sm:w-[590px] h-[400px] bg-gradient-to-r from-red-500 rounded-[100%] top-[50%] left-[50%] blur-[90px] translate-x-[-50%] translate-y-[-50%] z-[-1]" />
<h2 className="text-center text-3xl sm:text-3xl font-extrabold text-gray-600">
OOPS! <span className="text-red-500">Page Not Found!</span>😥
</h2>
<div className="">
<Image src={image} alt="404image" height={250} width={400} />
</div>
</div>
</div>
);
}
);
}
6 changes: 3 additions & 3 deletions public/.well-known/security.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Expires: 2025-12-31T23:59:59.000Z
Encryption: https://keys.openpgp.org/search?q=contact@flagforge.xyz
Preferred-Languages: en
Canonical: https://flagforge.aryan4.com.np/security.txt
Policy: https://github.com/FlagForgeCTF/flagForge/blob/main/SECURITY.md
Hiring: https://github.com/FlagForgeCTF/flagForge/blob/main/CONTRIBUTING.md
Policy: https://github.com/FlagForgeCTF/flagForge/blob/mainv2/SECURITY.md
Hiring: https://github.com/FlagForgeCTF/flagForge/blob/mainv2/CONTRIBUTING.md
Acknowledgments: https://github.com/FlagForgeCTF/flagForge#contributors
Hall-of-Frame:https://github.com/FlagForgeCTF/flagForge/blob/main/HALL-OF-FRAME.md
Hall-of-Frame:https://github.com/FlagForgeCTF/flagForge/blob/mainv2/HALL-OF-FRAME.md
4 changes: 4 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://flagforge.xyz/sitemap.xml
30 changes: 15 additions & 15 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,48 @@


<url>
<loc>https://flagforge.xyz/</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/home</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://flagforge.xyz/authentication</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/about</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/authentication</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/blogs</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/about</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/contact</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/resources</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/socials</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<loc>https://flagforge.xyz/contact</loc>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/privacy-policy</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/licensing</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://flagforge.xyz/problems</loc>
<lastmod>2025-09-02T11:23:26+00:00</lastmod>
<lastmod>2025-09-25T10:49:37+00:00</lastmod>
<priority>0.64</priority>
</url>

Expand Down
Loading