Skip to content

Commit e3c636a

Browse files
fix: rss 도메인이 vercel.app 이었던 문제 해결
1 parent 6803d35 commit e3c636a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/lib/rss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'path';
33
import { Feed } from 'feed';
44

55
export async function generateRssFeed(posts: any[]) {
6-
const site_url = process.env.NEXTAUTH_URL || 'http://localhost:3000';
6+
const site_url = process.env.NEXT_PUBLIC_DEPLOYMENT_URL || process.env.NEXTAUTH_URL || 'http://localhost:3000';
77

88
const feedOptions = {
99
title: 'ShipFriend TechBlog',

0 commit comments

Comments
 (0)