You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.4 KiB
JavaScript
73 lines
1.4 KiB
JavaScript
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()
|
|
}
|
|
}
|