diff --git a/README.md b/README.md index 3533b13..5cae387 100644 --- a/README.md +++ b/README.md @@ -169,4 +169,6 @@ Sometimes a new version of this image will be bound to the same source commit. T - 1.0.38 [13-01-2025](https://github.com/iptv-org/epg/commit/9a565f16f4016e49d17b762477e0f6d29bb0f970) - 1.0.39 - [14-01-2025](https://github.com/iptv-org/epg/commit/76df1541d8b0b90533ea74dcbb7815c27425b608) \ No newline at end of file + [14-01-2025](https://github.com/iptv-org/epg/commit/76df1541d8b0b90533ea74dcbb7815c27425b608) +- 1.0.40 + [14-01-2025](https://github.com/iptv-org/epg/commit/76df1541d8b0b90533ea74dcbb7815c27425b608)
Fixes issue with api url \ No newline at end of file diff --git a/start.sh b/start.sh index 5896aee..dbd2884 100644 --- a/start.sh +++ b/start.sh @@ -24,7 +24,7 @@ if [ "$enable_fixes" = true ] ; then cp -R /fixes/* /bin/epg/sites/ fi -sed -i -E "s/(https:\x2f\x2fiptv-org.github.io\x2fapi)/$api_url/g" $work_dir/scripts/core/apiClient.ts +sed -i -E "s/(https:\x2f\x2fiptv-org.github.io\x2fapi$\123filename\125)/$api_url$\123filename\125/g" $work_dir/scripts/core/apiClient.ts pm2 --name epg start npm -- run serve npm run grab --- --channels=channels.xml --maxConnections=$max_connections --days=$days --gzip