mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 13:05:48 +00:00
Compare commits
4 commits
a75196214b
...
19624e1f83
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19624e1f83 | ||
|
|
b24426250b | ||
|
|
cdb65a7973 | ||
|
|
39ac3eb397 |
3 changed files with 18 additions and 4 deletions
|
|
@ -13,14 +13,14 @@ const SeasonsBarPlaceholder = ({ className }) => {
|
|||
<div className={classnames(className, styles['seasons-bar-placeholder-container'])}>
|
||||
<div className={styles['prev-season-button']}>
|
||||
<Icon className={styles['icon']} name={'chevron-back'} />
|
||||
<div className={styles['label']}>{t('SEASON_PREV')}</div>
|
||||
<div className={styles['label']}>{t('PREV_SEASON')}</div>
|
||||
</div>
|
||||
<div className={styles['seasons-popup-label-container']}>
|
||||
<div className={styles['seasons-popup-label']}>{t('SEASON_NUMBER', { season: 1 })}</div>
|
||||
<Icon className={styles['seasons-popup-icon']} name={'caret-down'} />
|
||||
</div>
|
||||
<div className={styles['next-season-button']}>
|
||||
<div className={styles['label']}>{t('SEASON_NEXT')}</div>
|
||||
<div className={styles['label']}>{t('NEXT_SEASON')}</div>
|
||||
<Icon className={styles['icon']} name={'chevron-forward'} />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ const OptionsMenu = ({ className, stream, playbackDevices, extraSubtitlesTracks,
|
|||
console.error(e);
|
||||
toast.show({
|
||||
type: 'error',
|
||||
title: t('Error'),
|
||||
title: t('ERROR'),
|
||||
message: `${t('PLAYER_COPY_STREAM_ERROR')}: ${streamingUrl || downloadUrl}`,
|
||||
timeout: 3000
|
||||
});
|
||||
|
|
|
|||
|
|
@ -224,7 +224,21 @@ module.exports = (env, argv) => ({
|
|||
new WorkboxPlugin.GenerateSW({
|
||||
maximumFileSizeToCacheInBytes: 20000000,
|
||||
clientsClaim: true,
|
||||
skipWaiting: true
|
||||
skipWaiting: true,
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /^https:\/\/.*/,
|
||||
handler: 'NetworkFirst',
|
||||
options: {
|
||||
cacheName: 'cross-origin-requests',
|
||||
networkTimeoutSeconds: 10,
|
||||
expiration: {
|
||||
maxEntries: 200,
|
||||
maxAgeSeconds: 60 * 60,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue