mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-15 14:48:40 +00:00
35 lines
605 B
Ruby
35 lines
605 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Paths handled by the React application, which do not:
|
||
|
# - Require indexing
|
||
|
# - Have alternative format representations
|
||
|
|
||
|
%w(
|
||
|
/blocks
|
||
|
/bookmarks
|
||
|
/conversations
|
||
|
/deck/(*any)
|
||
|
/directory
|
||
|
/domain_blocks
|
||
|
/explore/(*any)
|
||
|
/favourites
|
||
|
/follow_requests
|
||
|
/followed_tags
|
||
|
/getting-started
|
||
|
/home
|
||
|
/keyboard-shortcuts
|
||
|
/links/(*any)
|
||
|
/lists/(*any)
|
||
|
/mutes
|
||
|
/notifications_v2/(*any)
|
||
|
/notifications/(*any)
|
||
|
/pinned
|
||
|
/public
|
||
|
/public/local
|
||
|
/public/remote
|
||
|
/publish
|
||
|
/search
|
||
|
/start/(*any)
|
||
|
/statuses/(*any)
|
||
|
).each { |path| get path, to: 'home#index' }
|