diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 18:51:32 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 18:54:19 +0000 |
commit | bbbf3ad38f649008e58e2eb11f0bee96722243c7 (patch) | |
tree | 6b0d61277b702ce31da6c65073a66faab3d650d7 /priv/home.html.eex | |
parent | ef667f16ef26588320e8157078b5bc1ac32adae2 (diff) | |
download | mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.tar mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.tar.gz mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.zip |
Remove Discord Activity code from this branch
Diffstat (limited to 'priv/home.html.eex')
-rw-r--r-- | priv/home.html.eex | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/priv/home.html.eex b/priv/home.html.eex index 87b0d5d..d17cbb8 100644 --- a/priv/home.html.eex +++ b/priv/home.html.eex @@ -1,11 +1,4 @@ <!DOCTYPE html> -<% -import Mediasync.Constants -{form_action_base, form_action_suffix} = case in_discord_activity? do - true -> {"/.proxy/", "?#{query_param_discord_activity_inner()}"} - false -> {"/", ""} -end -%> <html lang="en"> <head> @@ -16,7 +9,7 @@ end </head> <body> - <form action="<%= form_action_base %>host_room<%= form_action_suffix %>" method="post"> + <form action="/host_room" method="post"> <input name="_csrf_token" type="hidden" value="<%= Plug.CSRFProtection.get_csrf_token() %>"> <label for="host_room_input_video_url">video url:</label> <input name="video_url" id="host_room_input_video_url" type="url" |