mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-03-03 18:35:41 +08:00
Fix assets path in development
This commit is contained in:
parent
35524970ca
commit
74702a4583
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 "/"
|
||||||
|
|
Loading…
Reference in a new issue