fix debug thing

This commit is contained in:
zack 2024-10-25 22:36:17 -04:00
parent 01ce7866bb
commit d785dd371c
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -6,8 +6,6 @@ defmodule ZoeyscomputerWeb.DiscordHandler do
def init(opts), do: opts
def call(%{path_info: ["images", _id]} = conn, _opts) do
handle_discord(conn)
case get_req_header(conn, "user-agent") do
["Mozilla/5.0 (compatible; Discordbot/" <> _rest] -> handle_discord(conn)
_ -> conn