Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: implement dynamic baseUrl for flexible deployments previews
  • Loading branch information
akash3444 committed Oct 17, 2024
commit f72445a3cee4e9ef51ac0ef377046d460e3d016a
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config = {
url: "https://trypear.ai",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/docs/",
baseUrl: process.env.BASE_URL || '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down