Skip to content

Commit

Permalink
fix: respect base url when serving content by dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Nov 3, 2021
1 parent 91ec250 commit 15931fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default async function start(
stats: 'summary',
},
static: {
publicPath: baseUrl,
directory: path.resolve(siteDir, STATIC_DIR_NAME),
watch: {
// Useful options for our own monorepo using symlinks!
Expand Down

0 comments on commit 15931fd

Please sign in to comment.