MS IZ more fixes
This commit is contained in:
parent
f97218c005
commit
99446d82c4
2 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ class PublicsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def hubbub
|
def hubbub
|
||||||
|
puts params.inspect
|
||||||
if params['hub.mode'] == "subscribe"
|
if params['hub.mode'] == "subscribe"
|
||||||
render :text => params['hub.challenge'], :status => 202
|
render :text => params['hub.challenge'], :status => 202
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ Diaspora::Application.routes.draw do |map|
|
||||||
|
|
||||||
resources :users
|
resources :users
|
||||||
match 'receive', :to => 'dashboards#receive'
|
match 'receive', :to => 'dashboards#receive'
|
||||||
match 'hub', :to => 'publics#hubbub'
|
match 'hubbub', :to => 'publics#hubbub'
|
||||||
match '.well-known/host-meta', :to => 'publics#host_meta'
|
match '.well-known/host-meta', :to => 'publics#host_meta'
|
||||||
match 'webfinger', :to => 'publics#webfinger'
|
match 'webfinger', :to => 'publics#webfinger'
|
||||||
root :to => 'dashboards#index'
|
root :to => 'dashboards#index'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue