Skip to content

Commit

Permalink
set the portal config id as the the api endpoint host
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Sep 4, 2024
1 parent fc6635f commit dd3be1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class HomeController < ApplicationController
federated_portals = config.federated_portals
federated_portals. transform_values! { |v| v.delete(:apikey) ; v }
config.init_federated_portals_settings(federated_portals)

config.id = RDF::URI.new(LinkedData.settings.id_url_prefix)
config.class.link_to *routes_hash.map { |key, url| LinkedData::Hypermedia::Link.new(key, url, context[key]) }

reply config
Expand Down

0 comments on commit dd3be1f

Please sign in to comment.