Skip to content

Commit

Permalink
Prettifying
Browse files Browse the repository at this point in the history
  • Loading branch information
L480 committed Jul 23, 2024
1 parent 9c432b4 commit 2f6d121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.post(config.frontendRoute, async (c) => {
const randomKey = await saveUrl(c.env, body.url, Number(config.urlLength))
return c.json({ status: 'success', message: randomKey }, 200)
} else {
return c.json({ status: 'error', message: 'Error: Invalid URL.' }, 400)
return c.json({ status: 'error', message: 'Invalid URL.' }, 400)
}
})

Expand Down

0 comments on commit 2f6d121

Please sign in to comment.