mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-05-21 00:00:05 +08:00
feat: init send mail (#113)
* feat: init send mail * feat: init send mail
This commit is contained in:
@@ -5,6 +5,7 @@ import { jwt } from 'hono/jwt'
|
||||
import { api } from './router';
|
||||
import { api as adminApi } from './admin_api';
|
||||
import { api as apiV1 } from './api_v1';
|
||||
import { api as apiSendMail } from './send_mail_api'
|
||||
import { email } from './email';
|
||||
|
||||
const app = new Hono()
|
||||
@@ -40,6 +41,7 @@ app.use('/admin/*', async (c, next) => {
|
||||
app.route('/', api)
|
||||
app.route('/', adminApi)
|
||||
app.route('/', apiV1)
|
||||
app.route('/', apiSendMail)
|
||||
|
||||
app.all('/*', async c => c.text("Not Found", 404))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user