Rebrand for linhanced 0.1
This commit is contained in:
parent
cb4bdbf92d
commit
845b34992e
14 changed files with 27 additions and 28 deletions
|
|
@ -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',
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue