chore(docs): accept BASE_URL as environment variable

This commit is contained in:
Ali BARIN
2022-09-11 16:20:49 +02:00
parent b5c7c6d88b
commit d1c7d5ef70

View File

@@ -1,6 +1,9 @@
import { defineConfig } from 'vitepress';
const BASE = process.env.BASE_URL || '/';
export default defineConfig({
base: BASE,
lang: 'en-US',
title: 'Automatisch Docs',
description: 'Vite & Vue powered static site generator.',