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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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.

1 participant