about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fed31a302..9ddc00c8f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,11 @@
 Rails.application.routes.draw do
+  get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
+  get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger
+
+  get 'atom/:id',   to: 'atom#user_stream', as: :atom_user_stream
+  get 'user/:name', to: 'profile#show', as: :profile
+
   mount Mastodon::API => '/api/'
+
+  root 'home#index'
 end