Skip to content

Commit b07a208

Browse files
committed
Fix baseUrl
1 parent d01c27c commit b07a208

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config = {
1313
title: "Introduction to Algorithms",
1414
// tagline: '',
1515
url: "https://sikepuri-algorithm.github.io",
16-
baseUrl: process.env.NODE_ENV ? "/" : process.env.BASE_URL,
16+
baseUrl: process.env.NODE_ENV === "development" ? "/" : process.env.BASE_URL,
1717
onBrokenLinks: "throw",
1818
onBrokenMarkdownLinks: "warn",
1919
favicon: "img/favicon.ico",

0 commit comments

Comments
 (0)