clean up linking to radar worker

This commit is contained in:
Matt Walsh
2025-06-19 23:30:44 -05:00
parent 208ca3d87f
commit 92181c716d
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
import './radar-worker.mjs';

View File

@@ -203,7 +203,7 @@ class Radar extends WeatherDisplay {
// create a radar worker with helper functions
const radarWorker = () => {
// create the worker
const worker = new Worker(`/resources/radar-worker.js?_=${version()}`, { type: 'module' });
const worker = new Worker(`/resources/radar-worker.mjs?_=${version()}`, { type: 'module' });
const processRadar = (data) => new Promise((resolve, reject) => {
// prepare for done message