Revert "update API header"

This reverts commit 0d255dfd3c.
This commit is contained in:
Pig Fang 2021-02-21 12:12:33 +08:00
parent 0d255dfd3c
commit 03367d61a0

View File

@ -9,7 +9,6 @@ const OFFICIAL =
export default async (request: NowRequest, response: NowResponse) => {
response.setHeader('Content-Type', 'image/svg+xml')
response.setHeader('Cache-Control', 'no-cache')
const official = await fetch(OFFICIAL)
const { latest }: UpdateInfo = await official.json()