Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: respect base URL when serving content by webpack dev server #5864

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Nov 3, 2021

Motivation

Fixes #5863

Apparently, as often happens, we forgot to handle the base URL 🙈

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Set base url and try serve site.

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

@lex111 lex111 added the pr: bug fix This PR fixes a bug in a past release. label Nov 3, 2021
@lex111 lex111 requested a review from slorber as a code owner November 3, 2021 15:55
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Nov 3, 2021
@lex111 lex111 changed the title fix: respect base url when serving content by dev server fix: respect base URL when serving content by webpack dev server Nov 3, 2021
@netlify
Copy link

netlify bot commented Nov 3, 2021

✔️ [V2]

🔨 Explore the source changes: 15931fd

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6182b0e3ca47b40008e0a506

😎 Browse the preview: https://deploy-preview-5864--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 94
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5864--docusaurus-2.netlify.app/

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

Size Change: 0 B

Total Size: 851 kB

ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 38 kB
website/build/assets/css/styles.********.css 94 kB
website/build/assets/js/main.********.js 426 kB
website/build/blog/2017/12/14/introducing-docusaurus/index.html 68.7 kB
website/build/blog/index.html 39.5 kB
website/build/docs/index.html 46.7 kB
website/build/docs/installation/index.html 54.1 kB
website/build/index.html 32.2 kB
website/build/tests/docs/index.html 27.9 kB
website/build/tests/docs/standalone/index.html 24.3 kB

compressed-size-action

@slorber
Copy link
Collaborator

slorber commented Nov 3, 2021

😅 yes thanks, didn't see this missing option

@slorber slorber merged commit aeeacc3 into main Nov 3, 2021
@slorber slorber deleted the lex111/iss5863 branch November 3, 2021 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar logo and favicon images are not showing up while serving locally for sites with baseUrl
3 participants