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

Local: ensure template assets use the correct port locally #466

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

timmywil
Copy link
Member

@timmywil timmywil commented Sep 14, 2024

While debugging local setups with Andre, I noticed that when I changed port, the template assets continued to be served from port 80. This filter ensures that theme_root_uri includes the local port number, even after a database is populated with a portless siteurl, without the need to alter the database.

For whatever reason, Andre didn't have this issue when switching ports, but I did, and I couldn't tell you why this isn't always necessary.

@timmywil timmywil merged commit 12f7a3a into jquery:main Oct 8, 2024
5 checks passed
@timmywil timmywil deleted the port branch October 8, 2024 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants