mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
修改问题
This commit is contained in:
@@ -19,6 +19,8 @@ class ProjectCreateChainJob < ApplicationJob
|
||||
else
|
||||
chain_status = {status: 200}
|
||||
end
|
||||
Rails.logger.info("########_response__chain_status__#{chain_status}__")
|
||||
|
||||
status = chain_status[:status].to_i
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,9 +2,9 @@ Rails.application.routes.draw do
|
||||
|
||||
require 'sidekiq/web'
|
||||
require 'admin_constraint'
|
||||
mount Sidekiq::Web => '/sidekiq'
|
||||
# mount Sidekiq::Web => '/sidekiq'
|
||||
|
||||
# mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
||||
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
||||
|
||||
get 'attachments/download/:id', to: 'attachments#show'
|
||||
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
||||
|
||||
Reference in New Issue
Block a user