Skip to content

Commit

Permalink
don't use base when is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed Oct 23, 2024
1 parent 8be3128 commit 8856675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rspress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ga from 'rspress-plugin-google-analytics';

export default defineConfig({
root: path.join(__dirname, 'docs'),
base: process.env.BASE_PATH || '/get-emqx-guard-pro/',
...(process.env.BASE_PATH ? { base: process.env.BASE_PATH } : {}),
title: 'EMQX Guard Pro',
description: 'EMQX-Guard-Pro is EMQX plugin that keeping your EMQX cluster robust and secure, provides real-time notifications to your email, slack, dingtalk, wechat, feishu and more.',
icon: '/emqx-guardian.svg',
Expand Down

0 comments on commit 8856675

Please sign in to comment.