注释共享cookies

dev_trainings
daiao 6 years ago
parent 5b07b39fb2
commit c4bd57e35c

@ -34,7 +34,7 @@ module Mobile
version 'v1', using: :path version 'v1', using: :path
format :json format :json
content_type :json, "application/json;charset=UTF-8" content_type :json, "application/json;charset=UTF-8"
use ActionDispatch::Session::CookieStore, :expire_after => 8.hours, :key => '_educoder_session', :domain => :all #use ActionDispatch::Session::CookieStore, :expire_after => 8.hours, :key => '_educoder_session', :domain => :all
require 'digest' require 'digest'
use Mobile::Middleware::ErrorHandler use Mobile::Middleware::ErrorHandler

Loading…
Cancel
Save