mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
7 lines
192 B
Ruby
7 lines
192 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ApplicationSettings < Settings
|
|
def load_values_from_env
|
|
ENV.select { |name, _| name =~ /^APP_STTG_[A-Z0-9_]*/ }.transform_keys(&:downcase)
|
|
end
|
|
end
|