Skip to content

Commit

Permalink
Pop desktop specific config
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai authored Dec 30, 2023
1 parent a1ed375 commit aa769c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/desktop/endpoint.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Desktop.Endpoint do
@doc false
defmacro __using__(opts) do
scheme = Keyword.get(opts, :desktop_scheme, :http)
{scheme, opts} = Keyword.pop(opts, :desktop_scheme, :http)

quote do
use Phoenix.Endpoint, unquote(opts)
Expand Down

0 comments on commit aa769c8

Please sign in to comment.