Skip to content

Commit

Permalink
configure dummy app in initializer instead of yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Nov 26, 2024
1 parent a4d9098 commit e4bcbfb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 25 deletions.
24 changes: 0 additions & 24 deletions spec/dummy/config/federails.yml

This file was deleted.

16 changes: 15 additions & 1 deletion spec/dummy/config/initializers/federails.rb
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
Federails.config_from 'federails'
# frozen_string_literal: true

Federails.configure do |conf|
conf.app_name = "Dummy"
conf.app_version = "0.1"

conf.site_host = "localhost"
conf.site_port = "3000"
conf.force_ssl = false

conf.enable_discovery = true
conf.open_registrations = true
conf.server_routes_path = "federation"
conf.client_routes_path = nil
end

0 comments on commit e4bcbfb

Please sign in to comment.