add font awesome, file icons, and more

This commit is contained in:
spencerwooo
2021-06-23 21:27:51 +01:00
parent bada403a9d
commit 40ac051d33
11 changed files with 6199 additions and 71 deletions
+3
View File
@@ -40,6 +40,9 @@ const getAccessToken = async () => {
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
const { path = '/' } = req.query
if (path === '[...path]') {
res.status(400).json({ error: 'Path query invalid.' })
}
if (typeof path === 'string') {
const accessToken = await getAccessToken()