Rebrand for linhanced 0.1

This commit is contained in:
mrkmntal 2026-04-14 13:47:51 -04:00
commit 845b34992e
14 changed files with 27 additions and 28 deletions

View file

@ -381,6 +381,7 @@ const screenAudioMap = {
'travel': 'travel-forecast.mp3',
'hourly-graph': 'hourly-graph.mp3',
'hourly': 'hourly-forecast.mp3',
'server-observations': 'server-obs.mp3',
'current-weather': 'current-conditions.mp3',
};

View file

@ -90,7 +90,7 @@ const fetchAsync = async (_url, responseType, _params = {}) => {
// - Static mode (direct requests): Only add User-Agent for api.weather.gov, avoiding CORS preflight issues with other services
const shouldAddUserAgent = !shouldExcludeUserAgent && (window.WS4KP_SERVER_AVAILABLE || _url.toString().match(/api\.weather\.gov/));
if (shouldAddUserAgent) {
headers['user-agent'] = 'Weatherstar 4000+; weatherstar@netbymatt.com';
headers['user-agent'] = 'WeatherStar 4000+: Linhanced; marky611@gmail.com';
}
// combine default and provided parameters