mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-08 20:46:16 +08:00
Format
This commit is contained in:
parent
50ac90a79d
commit
fad65f1acb
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ defmodule LivebookWeb.StaticPlug do
|
||||||
|
|
||||||
defp encoding_with_file(conn, file_provider, segments, gzip?) do
|
defp encoding_with_file(conn, file_provider, segments, gzip?) do
|
||||||
cond do
|
cond do
|
||||||
file = (gzip? and accept_encoding?(conn, "gzip")) && file_provider.get_file(segments, :gzip) ->
|
file = gzip? and accept_encoding?(conn, "gzip") && file_provider.get_file(segments, :gzip) ->
|
||||||
{"gzip", file}
|
{"gzip", file}
|
||||||
|
|
||||||
file = file_provider.get_file(segments, nil) ->
|
file = file_provider.get_file(segments, nil) ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue