app.js: update searchdata URL in prep for format change

The new URL is:

http://worldwidetelescope.org/data/searchdata_v2.min.js

(or https://, or `cdn.worldwidetelescope.org`, etc.)
This commit is contained in:
Peter Williams 2022-07-05 19:25:54 -04:00
Родитель 17d52b6183
Коммит 2cb6f2d6cb
1 изменённых файлов: 2 добавлений и 2 удалений

4
app.js
Просмотреть файл

@ -24,7 +24,7 @@
// Note that, unlike the other source files, this file is processed through
// Grunt's templating system. This is done so that we can insert various
// build-time parameters. Note also that the variables here must references to
// build-time parameters. Note also that the variables here must be references to
// the Grunt config object; the templating in index.html uses different
// variables.
@ -72,6 +72,6 @@ $(window).on('load', function () {
// The JS file here sets a global `wwt.searchData` variable, which is
// processed in the `init()` function defined in `dataproxy/SearchData.js`.
var scr = document.createElement('script');
scr.setAttribute("src", wwtlib.URLHelpers.singleton.coreStaticUrl('data/searchdata.min.js'));
scr.setAttribute("src", wwtlib.URLHelpers.singleton.coreStaticUrl('data/searchdata_v2.min.js'));
document.getElementsByTagName("head")[0].appendChild(scr);
});