fix debug thing
This commit is contained in:
parent
01ce7866bb
commit
d785dd371c
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue