mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
ADD action cable for migrate project
This commit is contained in:
@@ -2,10 +2,12 @@ Rails.application.routes.draw do
|
||||
|
||||
require 'sidekiq/web'
|
||||
require 'admin_constraint'
|
||||
# mount Sidekiq::Web => '/sidekiq'
|
||||
|
||||
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
||||
|
||||
# Serve websocket cable requests in-process
|
||||
mount ActionCable.server => '/cable'
|
||||
|
||||
get 'attachments/download/:id', to: 'attachments#show'
|
||||
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
||||
get 'auth/qq/callback', to: 'oauth/qq#create'
|
||||
|
||||
Reference in New Issue
Block a user