mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
Make necessary changes in example project and mix task
This commit is contained in:
parent
226d6e69da
commit
df7b4b8935
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue