Skip to content

Commit

Permalink
docs: add base
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonictw committed Jul 16, 2024
1 parent 57eb36b commit 39afb96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { defineConfig } from 'vitepress'

const isProduction = process.env.NODE_ENV === 'production'

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Arona",
base: isProduction ? "/arona/" : "/",
description: "A simple bridge for every messenger.",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
Expand Down

0 comments on commit 39afb96

Please sign in to comment.