Skip to content

Commit 002c6c3

Browse files
committed
fix(server): 🎨 lint
1 parent ca18266 commit 002c6c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { Hono } from 'hono'
2-
import { env } from 'hono/adapter'
3-
import { Bot, InputFile, InputMediaBuilder } from 'grammy'
41
import type { InputMediaPhoto } from 'grammy/types'
52
import type { ENV } from './types'
3+
import { Bot, InputFile, InputMediaBuilder } from 'grammy'
4+
import { Hono } from 'hono'
5+
import { env } from 'hono/adapter'
66

77
const IP_HEADER = 'CF-Connecting-IP'
88

@@ -61,7 +61,7 @@ app.post('/api/v1/suggestion', async (c) => {
6161
msgs.push(`${replaceHtmlTag(textContent)}\n`)
6262
contactContent
6363
&& msgs.push(
64-
`<b>联系方式</b>\n<blockquote><code>${replaceHtmlTag(contactContent)}</code></blockquote>`,
64+
`<b>联系方式</b>\n<blockquote><code>${replaceHtmlTag(contactContent)}</code></blockquote>`,
6565
)
6666
metaReferrer
6767
&& msgs.push(`<b>Referrer</b>\n<blockquote>${replaceHtmlTag(metaReferrer)}</blockquote>`)

0 commit comments

Comments
 (0)