From 74702a4583c98195865cfffa6246d08c817fa063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 20 May 2021 12:27:30 +0200 Subject: [PATCH] Fix assets path in development --- README.md | 4 ++-- lib/livebook_web/endpoint.ex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ec7fb895..c52e6ac56 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,8 @@ livebook server --help 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)). -If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir`. -once the Escript is built. +If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir` +once the escript is built. ### Docker diff --git a/lib/livebook_web/endpoint.ex b/lib/livebook_web/endpoint.ex index 66e800565..9e8d4d4e6 100644 --- a/lib/livebook_web/endpoint.ex +++ b/lib/livebook_web/endpoint.ex @@ -28,7 +28,7 @@ defmodule LivebookWeb.Endpoint do defmodule AssetsFileSystemProvider do use LivebookWeb.FileSystemProvider, - from: {:livebook, "tmp/static_dev"} + from: "tmp/static_dev" end # Serve static failes at "/"