mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 12:37:01 +02:00
Remove slash from join path in server.js
This commit is contained in:
parent
4a4fea7d8a
commit
bc777a8e65
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function execute(port) {
|
|||
|
||||
function reloadSiteConfig() {
|
||||
removeModuleAndChildrenFromCache(join(CWD, 'siteConfig.js'));
|
||||
siteConfig = require(join(CWD, '/siteConfig.js'));
|
||||
siteConfig = require(join(CWD, 'siteConfig.js'));
|
||||
|
||||
if (siteConfig.highlight && siteConfig.highlight.hljs) {
|
||||
siteConfig.highlight.hljs(require('highlight.js'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue