Skip to content

Commit

Permalink
Add missing fixes to src
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcl committed Apr 8, 2024
1 parent 8f7d6db commit 125b089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Plotly.Blazor.Generator/src/PlotlyJsInterop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Plotly.Blazor;
/// </summary>
public class PlotlyJsInterop
{
private const string InteropPath = "/_content/Plotly.Blazor/plotly-interop.js";
private const string InteropPath = "./_content/Plotly.Blazor/plotly-interop.js";
private readonly DotNetObjectReference<PlotlyChart> dotNetObj;
private readonly Lazy<Task<IJSObjectReference>> moduleTask;

Expand Down
2 changes: 1 addition & 1 deletion Plotly.Blazor.Generator/src/wwwroot/plotly-interop.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '/_content/Plotly.Blazor/plotly-latest.min.js';
import './plotly-latest.min.js';

export function newPlot(id, data = [], layout = {}, config = {}, frames = []) {
window.Plotly.newPlot(id, data, layout, config, frames);
Expand Down

0 comments on commit 125b089

Please sign in to comment.