Skip to content

Commit

Permalink
Define defaults, wdefaults and prod_defaults as const
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored and cmcaine committed Jan 23, 2024
1 parent 1d04884 commit 6d88513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ include("examples/mimetypes.jl")
include("examples/basic.jl")
include("examples/files.jl")

defaults = stack(todict, basiccatch, splitquery, toresponse, assetserver, pkgfiles)
wdefaults = stack(todict, wcatch, splitquery)
prod_defaults = stack(todict, stderrcatch, splitquery, toresponse, assetserver, pkgfiles)
const defaults = stack(todict, basiccatch, splitquery, toresponse, assetserver, pkgfiles)
const wdefaults = stack(todict, wcatch, splitquery)
const prod_defaults = stack(todict, stderrcatch, splitquery, toresponse, assetserver, pkgfiles)

end

1 comment on commit 6d88513

@cmcaine
Copy link
Collaborator

@cmcaine cmcaine commented on 6d88513 Apr 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaTagBot register

Please sign in to comment.