Skip to content

Commit

Permalink
Make necessary changes in example project and mix task
Browse files Browse the repository at this point in the history
  • Loading branch information
voughtdq authored and woutdp committed Sep 25, 2023
1 parent 226d6e6 commit df7b4b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example_project/lib/example/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Example.Application do
@impl true
def start(_type, _args) do
children = [
{NodeJS.Supervisor, [path: LiveSvelte.SSR.server_path(), pool_size: 4]},
{NodeJS.Supervisor, [path: LiveSvelte.SSR.NodeJS.server_path(), pool_size: 4]},
# Start the Telemetry supervisor
ExampleWeb.Telemetry,
# Start the Ecto repository
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/configure_phoenix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule Mix.Tasks.LiveSvelte.ConfigurePhoenix do

defp configure_application() do
text = ~s"""
{NodeJS.Supervisor, [path: LiveSvelte.SSR.server_path(), pool_size: 4]},\
{NodeJS.Supervisor, [path: LiveSvelte.SSR.NodeJS.server_path(), pool_size: 4]},\
"""

{path, file} = path_and_file("lib/**/", "application.ex")
Expand Down

0 comments on commit df7b4b8

Please sign in to comment.