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
1313 )
1414
1515 socket ( "/live" , Phoenix.LiveView.Socket , websocket: [ connect_info: [ session: @ session_options ] ] )
16-
16+
1717 plug ( Plug.Static ,
1818 at: "/collected/image" ,
1919 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
99
1010 IO . puts ( "Running mix template_assets in #{ project_dir ( ) } " )
1111 IO . inspect ( File . ls ( project_dir ( ) ) )
12-
12+
1313 IO . puts ( "Template path: #{ templates_path ( ) } " )
1414
1515 IO . inspect ( File . ls ( templates_path ( ) ) )
@@ -34,10 +34,10 @@ defmodule Mix.Tasks.TemplateAssets do
3434 defp project_dir ( ) , do: File . cwd! ( )
3535
3636 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" )
3838
3939 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" )
4141
4242 defp process_image ( image_path ) do
4343 data = File . read! ( image_path )
You can’t perform that action at this time.
0 commit comments