Skip to content
Snippets Groups Projects
Unverified Commit 0e247cef authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

initializer

parent 1f745dd9
No related branches found
No related tags found
No related merge requests found
# frozen_string_literal: true
LibreTranslate.configure do |config|
# Configure the base URL of your LibreTranslate provider.
config.base_url = ENV.fetch("LIBRETRANSLATE_BASE_URL", "https://libretranslate.com")
# Configure the API key that will be used in requests.
config.api_key = ENV["LIBRETRANSLATE_API_KEY"]
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment