aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/raw/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages/raw/index.js')
-rw-r--r--frontend/src/pages/raw/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/frontend/src/pages/raw/index.js b/frontend/src/pages/raw/index.js
deleted file mode 100644
index 86db3d4..0000000
--- a/frontend/src/pages/raw/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-import useFetchPaste from "../../http/useFetchPaste";
-import { useRouter } from 'next/router'
-
-
-export default (req, res) => {
- const router = useRouter()
- const { hash } = router.query
- const { err, result } = useFetchPaste(hash)
- res.statusCode = 200
- res.json({
- text: 'Hello World! This is the Next.js starter kit :D',
- })
-} \ No newline at end of file