DEV: Remove reference to non-existent `letter_proxy` route

DEV: Remove reference to non-existent letter_proxy route

This was introduced in f04471e4229218903df17232db955cd583a423ef, but never actually used

diff --git a/app/controllers/user_avatars_controller.rb b/app/controllers/user_avatars_controller.rb
index cac63e6..11f4f25 100644
--- a/app/controllers/user_avatars_controller.rb
+++ b/app/controllers/user_avatars_controller.rb
@@ -37,7 +37,7 @@ class UserAvatarsController < ApplicationController
   def show_proxy_letter
     is_asset_path
 
-    if SiteSetting.external_system_avatars_url !~ /^\/letter(_avatar)?_proxy/
+    if SiteSetting.external_system_avatars_url !~ /^\/letter_avatar_proxy/
       raise Discourse::NotFound
     end

GitHub sha: 0f813fc7

1 Like