Skip to content

Commit 96e8411

Browse files
committedOct 15, 2024
fix: add developments hints as comments
1 parent a423d31 commit 96e8411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/runtime/nitro/server/robots-txt.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default defineEventHandler(async (e) => {
5050
let robotsTxt: string = generateRobotsTxt(robotsTxtCtx)
5151
if (import.meta.dev && hints.length) {
5252
// append
53-
robotsTxt += `\n# DEVELOPMENT HINTS:\n - ${hints.join('\n - ')}\n`
53+
robotsTxt += `\n# DEVELOPMENT HINTS:\n# - ${hints.join('\n# - ')}\n`
5454
}
5555
if (credits) {
5656
robotsTxt = [

0 commit comments

Comments
 (0)
Please sign in to comment.