mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-11 07:24:30 +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
|
||||
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}
|
||||
|
||||
file = file_provider.get_file(segments, nil) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue