Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fiqgant committed Jul 7, 2024
1 parent 41fc266 commit cdb0550
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/trpc/routers/comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const commentsRouter = createTRPCRouter({
date: new Date().toDateString(),
post: {
title,
url: `https://honghong.me/blog/${input.slug}`
url: `https://fiqlab.vercel.app/blog/${input.slug}`
},
type
})
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/trpc/routers/guestbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const guestbookRouter = createTRPCRouter({
{
title: 'New comment!',
description: input.message,
url: 'https://honghong.me/guestbook',
url: 'https://fiqlab.vercel.app/guestbook',
color: '6609519',
author: {
name: user.name,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/trpc/routers/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createTRPCRouter, publicProcedure } from '../trpc'
export const youtubeRouter = createTRPCRouter({
get: publicProcedure.query(async () => {
const res = await fetch(
`https://www.googleapis.com/youtube/v3/channels?id=UC2hMWOaOlk9vrkvFVaGmn0Q&part=statistics&key=${env.GOOGLE_API_KEY}`
`https://www.googleapis.com/youtube/v3/channels?id=UC6YSkM9lT6b5fRFc1gQEoPg&part=statistics&key=${env.GOOGLE_API_KEY}`
)
const data = await res.json()

Expand Down
8 changes: 4 additions & 4 deletions packages/emails/src/comment-notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const CommentNotification = (props: CommentNotificationProps) => {
</Head>
<Preview>
New {type === 'comment' ? 'comment' : 'reply'} on the post &quot; {post.title} &quot; on
honghong.me
fiqlab.vercel.app
</Preview>
<Body
style={{
Expand All @@ -72,7 +72,7 @@ const CommentNotification = (props: CommentNotificationProps) => {
}}
>
<Img
src='https://honghong.me/images/email/logo.png'
src='https://fiqlab.vercel.app/images/email/logo.png'
alt="Hong's logo"
width='50'
height='50'
Expand All @@ -81,7 +81,7 @@ const CommentNotification = (props: CommentNotificationProps) => {
<Section>
<Text>
A new {type === 'comment' ? 'comment' : 'reply'} has been posted on the post &quot;
{post.title}&quot; on honghong.me
{post.title}&quot; on fiqlab.vercel.app
</Text>
</Section>
<Hr
Expand Down Expand Up @@ -149,7 +149,7 @@ const CommentNotification = (props: CommentNotificationProps) => {
color: '#fff'
}}
>
View {type === 'comment' ? 'comment' : 'reply'} on honghong.me
View {type === 'comment' ? 'comment' : 'reply'} on fiqlab.vercel.app
</Link>
</Section>
</Container>
Expand Down

0 comments on commit cdb0550

Please sign in to comment.