Skip to content

Commit

Permalink
Define BASE_URL for deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Apr 14, 2024
1 parent 2dd9345 commit 4dee98a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import {themes as prismThemes} from 'prism-react-renderer';

const baseUrl = process.env.BASE_URL || '/orchestrator/';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Orchestrator Documentation',
Expand All @@ -16,7 +18,7 @@ const config = {
url: 'https://docs.vahera.com/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/orchestrator/',
baseUrl: baseUrl,

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

0 comments on commit 4dee98a

Please sign in to comment.