Skip to content

Commit d9d572a

Browse files
committed
Merge branch 'main' into wizard
2 parents 09aff0e + 927e8a2 commit d9d572a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

utils/globalData.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
export const getGlobalData = () => {
22
return {
3-
name: process.env.BLOG_NAME || "Jay Doe",
4-
blogTitle: process.env.BLOG_TITLE || "Next.js Blog Theme",
5-
footerText: process.env.BLOG_FOOTER_TEXT || "All rights reserved.",
3+
name: decodeURI(process.env.BLOG_NAME) || "Jay Doe",
4+
blogTitle: decodeURI(process.env.BLOG_TITLE) || "Next.js Blog Theme",
5+
footerText:
6+
decodeURI(process.env.BLOG_FOOTER_TEXT) || "All rights reserved.",
67
};
78
};

0 commit comments

Comments
 (0)