mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
8 lines
192 B
Ruby
8 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
|