Fix file download in the .exs notebook export

This commit is contained in:
Jonatan Kłosko 2024-01-02 16:41:23 +08:00
parent 6f4eb7f58b
commit 469c53a4df

View file

@ -36,7 +36,7 @@ defmodule LivebookWeb.SessionLive.ExportElixirComponent do
<a <a
class="icon-button" class="icon-button"
aria-label="download source" aria-label="download source"
href={~p"/sessions/#{@session.id}/export/download/exs"} href={~p"/sessions/#{@session.id}/download/export/exs"}
download download
> >
<.remix_icon icon="download-2-line" class="text-lg" /> <.remix_icon icon="download-2-line" class="text-lg" />