File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
apps/components_guide_web/lib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ defmodule ComponentsGuideWeb.Endpoint do
13
13
)
14
14
15
15
socket ( "/live" , Phoenix.LiveView.Socket , websocket: [ connect_info: [ session: @ session_options ] ] )
16
-
16
+
17
17
plug ( Plug.Static ,
18
18
at: "/collected/image" ,
19
19
from: { :components_guide_web , "priv/static/collected/image" } ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ defmodule Mix.Tasks.TemplateAssets do
9
9
10
10
IO . puts ( "Running mix template_assets in #{ project_dir ( ) } " )
11
11
IO . inspect ( File . ls ( project_dir ( ) ) )
12
-
12
+
13
13
IO . puts ( "Template path: #{ templates_path ( ) } " )
14
14
15
15
IO . inspect ( File . ls ( templates_path ( ) ) )
@@ -34,10 +34,10 @@ defmodule Mix.Tasks.TemplateAssets do
34
34
defp project_dir ( ) , do: File . cwd! ( )
35
35
36
36
defp templates_path ( ) ,
37
- do: Path . join ( project_dir ( ) , "/apps/components_guide_web/ lib/components_guide_web/templates" )
37
+ do: Path . join ( project_dir ( ) , "/lib/components_guide_web/templates" )
38
38
39
39
defp static_collected_dir ( ) ,
40
- do: Path . join ( project_dir ( ) , "/apps/components_guide_web/ priv/static/collected" )
40
+ do: Path . join ( project_dir ( ) , "/priv/static/collected" )
41
41
42
42
defp process_image ( image_path ) do
43
43
data = File . read! ( image_path )
You can’t perform that action at this time.
0 commit comments