Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add :beacon pipeline #689

Merged
merged 1 commit into from
Dec 5, 2024
Merged

chore: add :beacon pipeline #689

merged 1 commit into from
Dec 5, 2024

Conversation

leandrocp
Copy link
Contributor

@leandrocp leandrocp commented Dec 5, 2024

  pipeline :beacon_admin do
    plug Beacon.LiveAdmin.Plug
  end

  pipeline :beacon do
    plug Beacon.Plug
  end

  scope "/" do
    pipe_through [:browser, :beacon_admin]
    beacon_live_admin "/admin"
  end

  scope "/", MyAppWeb do
    pipe_through [:browser, :beacon]
    beacon_site "/", site: :my_site
  end

@leandrocp leandrocp merged commit 31ca121 into main Dec 5, 2024
2 of 3 checks passed
@leandrocp leandrocp deleted the lp-router-pipelines branch December 5, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant