Browse Source

Merge branch 'develop' into dev_trustie_server

tags/v3.1.5
jasder 5 years ago
parent
commit
7bb4cf7391
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      app/controllers/application_controller.rb
  2. +1
    -0
      config/configuration.yml.example

+ 1
- 1
app/controllers/application_controller.rb View File

@@ -770,7 +770,7 @@ class ApplicationController < ActionController::Base
end

def base_url
request.base_url
Rails.application.config_for(:configuration)['platform_url'] || request.base_url
end

def convert_image!


+ 1
- 0
config/configuration.yml.example View File

@@ -1,6 +1,7 @@
default: &default
# 用户登入的时候设置/登出的时候清空
autologin_cookie_name: 'autologin_trustie'
platform_url: 'http://localhost:3000'


#附件上传路径


Loading…
Cancel
Save