Skip to content

fix: /groups/create route and /favicon.ico for crawlers#406

Merged
tompscanlan merged 1 commit into
mainfrom
fix/groups-create-route-and-favicon
Apr 4, 2026
Merged

fix: /groups/create route and /favicon.ico for crawlers#406
tompscanlan merged 1 commit into
mainfrom
fix/groups-create-route-and-favicon

Conversation

@tompscanlan

@tompscanlan tompscanlan commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • /groups/create route fix: Added a redirect from /groups/create to DashboardGroupCreatePage. Previously, "create" was captured by the :slug dynamic param, showing "Group not found". This matches the existing /events/create pattern.
  • /favicon.ico for crawlers: Added explicit nginx location = /favicon.ico aliased to /openmeet/icons/favicon.ico. Crawlers and Edge that probe the root path were getting the SPA HTML shell instead of the actual icon.

Test plan

  • Visit /groups/create — should redirect to login (unauthenticated) or dashboard create page (authenticated)
  • Visit /groups/some-real-slug — should still load the group page normally
  • Verify /favicon.ico returns the actual icon file (check content-type is image/x-icon)
  • Existing event routes still work: /events, /events/create, /events/:slug

- Add redirect from /groups/create to DashboardGroupCreatePage,
  matching the existing /events/create pattern. Previously "create"
  was matched by the :slug param showing "Group not found".

- Add explicit nginx location for /favicon.ico aliased to
  /openmeet/icons/favicon.ico so crawlers and Edge that probe
  the root path get the actual icon instead of the SPA shell.
@tompscanlan tompscanlan merged commit 35a4fdd into main Apr 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant