Skip to content

Commit

Permalink
Add working code that can potentially exploited
Browse files Browse the repository at this point in the history
  • Loading branch information
sdimitrijevikj committed Sep 24, 2024
1 parent 0a00cc1 commit d3f0c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 35 deletions.
16 changes: 2 additions & 14 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Home() {

<main>
<h1 className={styles.title}>
Welcome to <a href="https://nextjs.org">Next.js!</a>
Playground project
</h1>
<nav>
<ul>
Expand All @@ -34,31 +34,19 @@ export default function Home() {
</ul>
</nav>

<p className={styles.description}>
Get started by editing <code>pages/index.js</code>
</p>

<div className={styles.grid}>
</div>
<h2>Comments</h2>
<ul>
{comments.map((comment, index) => (
<li dangerouslySetInnerHTML={{__html: comment}} key={index} />
<li key={`${index}-comment`}>{comment}</li>
))}
</ul>
<div>
</div>
</main>

<footer>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
Powered by{' '}
<img src="/vercel.svg" alt="Vercel" className={styles.logo} />
</a>
</footer>

<style jsx>{`
Expand Down
21 changes: 0 additions & 21 deletions pages/redirect.js

This file was deleted.

0 comments on commit d3f0c86

Please sign in to comment.