mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 16:55:37 +02:00
This adds the following pages: The landing page (/) The pricing page (/pricing) The contact page (/contact) The changelog page (/changelog) Terms Of Service page (/terms) Privacy Policy (/privacy)
18 lines
325 B
TypeScript
18 lines
325 B
TypeScript
import { Hono } from 'hono'
|
|
import Image from "./image"
|
|
|
|
const app = new Hono()
|
|
|
|
app.get('/', (c) => {
|
|
return c.text('Hello There! 👋🏾')
|
|
})
|
|
|
|
app.get('/favicon.ico', (c) => {
|
|
return c.newResponse(null, 302, {
|
|
Location: 'https://nestri.pages.dev/favicon.svg'
|
|
})
|
|
})
|
|
|
|
app.route("/image", Image)
|
|
|
|
export default app |