Skip to content

Commit a07115d

Browse files
committed
chore(next|blog): updating fetch to not prepend backend:8080
1 parent 13adc90 commit a07115d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next/src/pages/blog/[bid].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const BlogPage: NextPage<{ data: Block[] }> = ({ data }) => {
4242

4343
export const getServerSideProps: GetServerSideProps = async ({ params }) => {
4444
const data = await fetch(
45-
`http://backend:8080/api/filesystem/get/published?DocumentID=${
45+
`/api/filesystem/get/published?DocumentID=${
4646
params && params.bid
4747
}`,
4848
{

0 commit comments

Comments
 (0)