|
|
|
@ -5,7 +5,7 @@ defmodule ExplorerWeb.Application do |
|
|
|
|
|
|
|
|
|
use Application |
|
|
|
|
|
|
|
|
|
alias ExplorerWeb.{Endpoint, EventHandler} |
|
|
|
|
alias ExplorerWeb.Endpoint |
|
|
|
|
|
|
|
|
|
def start(_type, _args) do |
|
|
|
|
import Supervisor.Spec |
|
|
|
@ -13,8 +13,7 @@ defmodule ExplorerWeb.Application do |
|
|
|
|
# Define workers and child supervisors to be supervised |
|
|
|
|
children = [ |
|
|
|
|
# Start the endpoint when the application starts |
|
|
|
|
supervisor(Endpoint, []), |
|
|
|
|
{EventHandler, name: EventHandler} |
|
|
|
|
supervisor(Endpoint, []) |
|
|
|
|
# Start your own worker by calling: PoaexpWeb.Worker.start_link(arg1, arg2, arg3) |
|
|
|
|
# worker(PoaexpWeb.Worker, [arg1, arg2, arg3]), |
|
|
|
|
] |
|
|
|
|