<commit_before>defmodule RemoteRetro.Router do
  use RemoteRetro.Web, :router
  use Honeybadger.Plug

  if Mix.env == :dev do
    forward "/sent_emails", Bamboo.EmailPreviewPlug
  end

  pipeline :authentication_required do
    plug RedirectUnauthenticated
  end

  pipeline :browser do
    plug :accepts, ["html"]
    plug RedirectHerokuappTrafficToCustomDomain
    plug :fetch_session
    plug :fetch_flash
    plug :protect_from_forgery
    plug :put_secure_browser_headers
  end

  pipeline :api do
    plug :accepts, ["json"]
  end

  scope "/", RemoteRetro do
    pipe_through :browser # Use the default browser stack

    get "/", PageController, :index
    get "/faq", PageController, :faq
    get "/auth/google", AuthController, :index
    get "/auth/google/callback", AuthController, :callback
  end

  scope "/retros", RemoteRetro do
    pipe_through [:browser, :authentication_required]

    resources "/", RetroController, only: [:create, :show]
  end
end<commit_msg>Remove unused api pipeline from router<commit_after>defmodule RemoteRetro.Router do
  use RemoteRetro.Web, :router
  use Honeybadger.Plug

  if Mix.env == :dev do
    forward "/sent_emails", Bamboo.EmailPreviewPlug
  end

  pipeline :authentication_required do
    plug RedirectUnauthenticated
  end

  pipeline :browser do
    plug :accepts, ["html"]
    plug RedirectHerokuappTrafficToCustomDomain
    plug :fetch_session
    plug :fetch_flash
    plug :protect_from_forgery
    plug :put_secure_browser_headers
  end

  scope "/", RemoteRetro do
    pipe_through :browser # Use the default browser stack

    get "/", PageController, :index
    get "/faq", PageController, :faq
    get "/auth/google", AuthController, :index
    get "/auth/google/callback", AuthController, :callback
  end

  scope "/retros", RemoteRetro do
    pipe_through [:browser, :authentication_required]

    resources "/", RetroController, only: [:create, :show]
  end
end
{'fraction_non_alphanumeric': 0.08855515277058519, 'fraction_numerical': 0.0, 'mean_word_length': 3.8059701492537314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6089785', 'n_tokens_mistral': 602, 'n_tokens_neox': 579, 'n_words': 169}