Skip to content

Commit

Permalink
main force-dynamic 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Sep 19, 2023
1 parent a06327c commit 8b7d5f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/[locale]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dynamic = 'force-dynamic';

import MainNode1 from '@/public/image/main_1.svg';
import MainNode2 from '@/public/image/main_2.svg';
import MainNode3 from '@/public/image/main_3.svg';
Expand Down
7 changes: 6 additions & 1 deletion components/common/Attachments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ export default function Attachments({ files }: AttachmentProps) {
const AttachmentAnchor = ({ name, bytes, url }: Attachment) => {
const kilobyte = Math.round(bytes / 100);
return (
<a className="text-xs font-normal hover:underline w-fit" href={url} download={name}>
<a
className="text-xs font-normal hover:underline w-fit"
href={url}
download={name}
target="_blank"
>
{name}({kilobyte / 10}KB)
</a>
);
Expand Down

0 comments on commit 8b7d5f6

Please sign in to comment.