mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
fix: strict css/main.css routing (#904)
This commit is contained in:
parent
890054802d
commit
6004fef658
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ function execute(port, options) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get(/main\.css$/, (req, res) => {
|
app.get(`${siteConfig.baseUrl}css/main.css`, (req, res) => {
|
||||||
const mainCssPath = join(
|
const mainCssPath = join(
|
||||||
__dirname,
|
__dirname,
|
||||||
'..',
|
'..',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue