Skip to content

Commit

Permalink
fix route of plotly.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed Feb 19, 2024
1 parent e6d07b7 commit 4199be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StipplePlotly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ _symbol_dict(d::AbstractDict) =
function deps_routes() :: Nothing
Genie.Assets.external_assets(Stipple.assets_config) && return nothing

Genie.Router.route(Genie.Assets.asset_route(assets_config, :js, file="plotly2.min"), named = :get_plotly2js) do
Genie.Router.route(Genie.Assets.asset_route(assets_config, :js, file="plotly.min"), named = :get_plotlyjs) do
Genie.Renderer.WebRenderable(
Genie.Assets.embedded(Genie.Assets.asset_file(cwd=normpath(joinpath(@__DIR__, "..")), file="plotly2.min.js")),
Genie.Assets.embedded(Genie.Assets.asset_file(cwd=normpath(joinpath(@__DIR__, "..")), file="plotly.min.js")),
:javascript) |> Genie.Renderer.respond
end

Expand Down

0 comments on commit 4199be8

Please sign in to comment.