Ignacio Lizana
57571cf1fc
fix: Handle boolean value for SERVICE_WORKER_DISABLED
...
The `webpack.EnvironmentPlugin` provides the default value for `SERVICE_WORKER_DISABLED` as a boolean (`false`).
The previous implementation only checked for the string `'true'`, which would fail to correctly identify the boolean `true` case, causing the feature to not work as intended when the variable was set without being explicitly a string.
This commit updates the conditional check to handle both the boolean `true` and the string `'true'` to ensure the service worker is reliably disabled.
Co-authored-by: Tim <tymmesyde@gmail.com>
2025-10-07 17:44:23 +02:00
Ignacio Lizana
670f119027
feat: add option to disable service worker
2025-10-07 15:57:14 +02:00
Tim
32aee9de6a
refactor: update copyright header year
2023-06-09 19:16:32 +02:00
Tim
a7e6a23db4
fix: remove leading slash in path for pwa worker
2023-05-25 14:24:23 +02:00
Tim
fc0dff4ec2
feat: implement interface language
2022-12-14 21:36:09 +01:00
Tim
d7eccd9d0c
Merge branch 'development' of https://github.com/Stremio/stremio-web into pwa
2022-11-15 15:25:05 +01:00
Tim
58d8de40f3
feat: implement pwa
2022-07-27 10:15:55 +02:00
nklhrstv
11be6d8f8c
use async api of getState
2022-07-06 17:16:33 +03:00
nklhrstv
cb06a5930d
runtime check for mobile browsers added
2022-06-13 18:36:38 +03:00
core1024
aa6a2ed320
Update all file's copyright
2022-04-08 17:55:20 +03:00
nklhrstv
edf8dbf66c
condigure sentry before import app code
2021-01-15 15:40:15 +02:00
nklhrstv
0510110a87
require sentry only if dsn is available
2020-12-16 11:41:36 +02:00
nklhrstv
a5cb553ec6
Downgrade to GPL-V2 License
2020-04-08 11:45:16 +03:00
nklhrstv
0af2672152
drop usage of .env file
2020-01-30 16:58:25 +02:00
nklhrstv
f8e5021661
sentry config moved to .env file
2020-01-30 16:21:18 +02:00
nklhrstv
f0d90e9f8b
sentry confix renamed with lowercase
2020-01-30 15:46:33 +02:00
svetlagasheva
ab75849e6c
sentry dsn exported from package.json
2020-01-24 15:12:49 +02:00
svetlagasheva
ba51eaa879
sentry added
2020-01-24 11:35:14 +02:00
NikolaBorislavovHristov
00d3d168f3
demo shell service implemented
2019-09-24 20:32:52 +03:00
NikolaBorislavovHristov
ef9111fa5e
global stateContainer replaced by core service
2019-09-24 19:34:10 +03:00
NikolaBorislavovHristov
f46c0c771a
update stremio-core module/repo name
2019-09-13 15:52:37 +03:00
NikolaBorislavovHristov
34398aeb7a
await state container and shell before render app
2019-04-15 15:30:16 +03:00
NikolaBorislavovHristov
b08ee9aa8b
MPVVideo basic implementation
2019-03-21 13:16:48 +02:00
NikolaBorislavovHristov
9159479cfa
stremio-shell script injected properly
2019-03-01 12:39:02 +02:00
NikolaBorislavovHristov
09ecae54e2
modals refactored
2019-01-25 17:00:43 +02:00
NikolaBorislavovHristov
486db927db
focusability integrated with modals and routes
2019-01-24 17:47:40 +02:00
NikolaBorislavovHristov
3732b1e427
Popup decoupled from app
2019-01-21 15:55:54 +02:00
NikolaBorislavovHristov
4cb7c20b12
Modal config core reformat
2019-01-21 15:02:41 +02:00
NikolaBorislavovHristov
032e787081
decouple Modal from stremio app
2019-01-21 13:48:57 +02:00
NikolaBorislavovHristov
3f0e399c9a
root div id changed to app
2018-06-07 09:35:14 +03:00
NikolaBorislavovHristov
2345d76d92
Initial commit
2018-06-04 15:56:17 +03:00