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 baseurl not passed to app.js #1955

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Fix baseurl not passed to app.js #1955

merged 1 commit into from
Sep 18, 2024

Conversation

cotes2020
Copy link
Owner

@cotes2020 cotes2020 commented Sep 18, 2024

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Description

In #1734, the expected behavior of reading options from _config.yml in app.js is limited to the site configuration state at the time of the app.js Rollup build. This means it cannot read user-defined options, such asbaseurl (#1909).

Therefore, this has been modified to pass the baseurl to app.js via the URL to achieve the intended design.

Additional context

@cotes2020 cotes2020 merged commit 5a63244 into master Sep 18, 2024
7 checks passed
@cotes2020 cotes2020 deleted the fix-pwa-baseurl branch September 18, 2024 14:32
github-actions bot pushed a commit that referenced this pull request Sep 23, 2024
## [7.1.1](v7.1.0...v7.1.1) (2024-09-23)

### Bug Fixes

* **i18n:** correct fr-FR translations ([#1949](#1949)) ([367262e](367262e))
* **pwa:** site baseurl not passed to `app.js` ([#1955](#1955)) ([5a63244](5a63244))
aishukander added a commit to aishukander/aishukander.github.io that referenced this pull request Sep 27, 2024
Update the share.yml file to add a new platform for Reddit sharing. Also, modify the sidebar.html file to change the site title element to a clickable link.

Closes cotes2020#1955
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant