fix: derive public home link from request origin #220
No reviewers
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!220
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/task-2aff6d58-settings-home-origin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
https://slugkit.comrequests and localhost development behavior.Verification
Task: #task-2aff6d58
Review summary
Approved.
Acceptance criteria
http://localhost:3000unless the actual request origin is localhost. Evidence: request-aware site URL resolution replaces the default localhost URL with the request origin for non-localhost requests, and tests asserthttps://slugkit.comoutput does not includehref="http://localhost:3000".https://slugkit.comor the correct configured public origin. Evidence: the production-style test requestshttps://slugkit.com/and asserts the site title link useshref="https://slugkit.com".https://slugkit.com/andhttp://localhost:3000/behavior.Blocking issues
Warnings
Verification reviewed
./scripts/pre-pr.shpassed locally.Final verdict
Approved. Ready for human merge approval.