Skip to content

Commit a65a5a5

Browse files
committed
Add slash
1 parent b62413e commit a65a5a5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apps/landing/src/app/(detail)/docs/RightIndex.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { Box, Flex, Image, Text, VStack } from '@devup-ui/react'
22

3+
import { URL_PREFIX } from '../../../constants'
4+
35
export function RightIndex() {
46
return (
57
<VStack gap="16px" p="20px 16px" w="200px">
@@ -54,7 +56,7 @@ export function RightIndex() {
5456
<Image
5557
bg="$caption"
5658
boxSize="16px"
57-
maskImage="url(/outlink.svg)"
59+
maskImage={`url(${URL_PREFIX}/outlink.svg)`}
5860
maskSize="100%"
5961
/>
6062
</Flex>

apps/next/next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { DevupUI } from '@devup-ui/next-plugin'
33

44
const nextConfig = {
5+
trailingSlash: true,
56
/* config options here */
67
}
78

0 commit comments

Comments
 (0)