main
Keir Finlow-Bates 2 years ago
parent 9db8f40f6d
commit 85b2812f89

@ -0,0 +1,72 @@
import axios from 'axios'
import { useRouter } from "next/router"
export const config = {
api: {
externalResolver: true,
},
}
export default async function handler(req, res) {
const message = [
"Scrying",
"Divining",
"Crystal gazing",
"Searching",
"Loading",
"Casting a spell",
"Calling for wisdom",
"Using the palantir",
"Working magic...",
"Scrying",
"Divining",
"Crystal gazing",
"Searching",
"Loading",
"Casting a spell",
"Calling for wisdom",
"Using the palantir",
"Working magic...",
"Scrying",
"Divining",
"Crystal gazing",
"Searching",
"Loading",
"Casting a spell",
"Calling for wisdom",
"Using the palantir",
"Working magic...",
"Patience apprentice",
"Invoking a beholder",
"TheOtherGuy's on it",
"There is no spoon",
"Decentraland? Nah",
"SandBox? I'll pass",
"Roblox? No magic",
"Land-rule rules",
"Corwin lives!",
"It's doomed...",
"Lyonesse forever",
"Oh the stricture!",
"Where's my torc?",
"Entropy fj49gfg5",
"Just ask Morgon",
"Clocks strike 13",
"BCG suxs, man",
"Othofizz refreshes",
"Lot 49?",
"Teen Age Riot"
]
try {
res.statusCode = 200
res.json(message)
res.end()
} catch (err) {
// console.log(err)
res.status(404)
res.json({ error: "Something went wrong" })
res.end()
}
}
Loading…
Cancel
Save