<commit_before>require 'community_resolver'

Rails.application.routes.draw do
  match "/:action/*xri", :to => ResolveController.action(:respond), :constraints => {
    :action => /#{CommunityResolver::Path::Authority}|#{CommunityResolver::Path::Proxy}/
  }
end
<commit_msg>Update config/routes.rb<commit_after>require 'community_resolver'

Rails.application.routes.draw do
  match "/:action/*xri", :to => ResolveController.action(:respond), :constraints => {
    :action => /#{CommunityResolver::Path::Authority}|#{CommunityResolver::Path::Proxy}/
  }, :format => false # format false allows dots in inames
end

{'fraction_non_alphanumeric': 0.1685761047463175, 'fraction_numerical': 0.0, 'mean_word_length': 6.463414634146342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2591156', 'n_tokens_mistral': 187, 'n_tokens_neox': 186, 'n_words': 33}