Skip to content

Commit 920f3c4

Browse files
fix: robots 파일 base url 변경
1 parent e3c636a commit 920f3c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/robots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { MetadataRoute } from 'next';
33

44
export default function robots(): MetadataRoute.Robots {
5-
const baseURL = process.env.NEXTAUTH_URL || 'http://localhost:3000';
5+
const baseURL = process.env.NEXT_PUBLIC_DEPLOYMENT_URL || process.env.NEXTAUTH_URL || 'http://localhost:3000';
66
return {
77
rules: {
88
userAgent: '*',

0 commit comments

Comments
 (0)