allow do
origins "*"
resource "/oauth/*", :headers => :any, :methods => [:get, :post]
+ resource "/oauth2/token", :headers => :any, :methods => [:post]
+ resource "/oauth2/revoke", :headers => :any, :methods => [:post]
+ resource "/oauth2/introspect", :headers => :any, :methods => [:post]
resource "/api/*", :headers => :any, :methods => [:get, :post, :put, :delete]
resource "/diary/rss", :headers => :any, :methods => [:get]
resource "/diary/*/rss", :headers => :any, :methods => [:get]
+ resource "/trace/*/data", :headers => :any, :methods => [:get]
resource "/user/*/diary/rss", :headers => :any, :methods => [:get]
end
end