Skip to content

Commit

Permalink
Fix DEBUG-mode path to lightcurveplotly.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Jan 30, 2025
1 parent c720d00 commit ac18d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlasserver/forcephot/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def resultplotdatajs(request, taskid):
)
)
if settings.DEBUG:
jsout.append(Path(settings.STATIC_ROOT, "js/lightcurveplotly.js").open("rt").read())
jsout.append(Path(settings.STATIC_ROOT, "js/queuepage/src/lightcurveplotly.js").open("rt").read())
else:
jsout.append(Path(settings.STATIC_ROOT, "js/lightcurveplotly.min.js").open("rt").read())

Expand Down

0 comments on commit ac18d3a

Please sign in to comment.