Fix assets path in development

This commit is contained in:
Jonatan Kłosko 2021-05-20 12:27:30 +02:00
parent 35524970ca
commit 74702a4583
2 changed files with 3 additions and 3 deletions

View file

@ -46,8 +46,8 @@ livebook server --help
After you install the escript, make sure you add the directory where After you install the escript, make sure you add the directory where
Elixir keeps escripts to your [$PATH](https://en.wikipedia.org/wiki/PATH_(variable)). Elixir keeps escripts to your [$PATH](https://en.wikipedia.org/wiki/PATH_(variable)).
If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir`. If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir`
once the Escript is built. once the escript is built.
### Docker ### Docker

View file

@ -28,7 +28,7 @@ defmodule LivebookWeb.Endpoint do
defmodule AssetsFileSystemProvider do defmodule AssetsFileSystemProvider do
use LivebookWeb.FileSystemProvider, use LivebookWeb.FileSystemProvider,
from: {:livebook, "tmp/static_dev"} from: "tmp/static_dev"
end end
# Serve static failes at "/" # Serve static failes at "/"