Make necessary changes in example project and mix task

This commit is contained in:
Douglas Vought 2023-09-14 18:15:39 -04:00 committed by Wout De Puysseleir
parent 226d6e69da
commit df7b4b8935
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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")