Skip to content

Commit

Permalink
fix(robots): add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Dec 17, 2022
1 parent f672b5f commit 0f17029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/robots.txt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import config from 'nuxt-seo-kit/config'
import { defineEventHandler } from 'h3'
import { defineEventHandler, setHeader } from 'h3'

export default defineEventHandler(async (event) => {
setHeader(event, 'Content-Type', 'text/plain')
Expand Down

0 comments on commit 0f17029

Please sign in to comment.