ADD 前端调用api地址从后端获取[bug]

This commit is contained in:
jasder 2021-11-09 16:54:10 +08:00
parent 9a0d7aa02a
commit e8bbc7d856
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ end
def api_urls def api_urls
navigations = [] navigations = []
hash = Rails.application.config_for(:configuration)["api_url"] hash = Rails.application.config_for(:configuration)["api_urls"]
hash.each do |key, value| hash.each do |key, value|
navigations << {"#{key}": value} navigations << {"#{key}": value}
end end