Skip to content

Commit 5ae2233

Browse files
committed
refactor: Replace defunct Vidsrc URLs
1 parent 44db965 commit 5ae2233

File tree

4 files changed

+678
-667
lines changed

4 files changed

+678
-667
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ APP_SECRET=
1717
OMDB_API_KEY=your_api_key_here
1818

1919
## If your video player is not loading try changing the domain below by using one of these domains:
20-
## vidsrc.in, vidsrc.pm, vidsrc.xyz, vidsrc.net
21-
VIDSRC_DOMAIN=vidsrc.in
20+
## vidsrc-embed.ru, vidsrc-embed.su, vidsrcme.su, vsrc.su
21+
VIDSRC_DOMAIN=vidsrcme.su
2222

2323
## Optional alternate video source. When set, the app uses this domain as Server 2.
2424
#MULTI_DOMAIN=multiembed.mov

config/app.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const appUrl: string =
6464
* @property {string} OMDB_API_KEY - The API key for accessing the OMDb API, essential for the application's functionality
6565
* @property {string} OMDB_API_URL - The API endpoint for the OMDb API, defaulting to `http://www.omdbapi.com`
6666
* @property {string} OMDB_IMG_URL - The URL endpoint for fetching images via the OMDb API, defaulting to `http://img.omdbapi.com`
67-
* @property {string} VIDSRC_DOMAIN - The domain used for the vidsrc player, defaulting to `vidsrc.in` but can be overridden via `process.env.VIDSRC_DOMAIN`
67+
* @property {string} VIDSRC_DOMAIN - The domain used for the vidsrc player, defaulting to `vidsrcme.su` but can be overridden via `process.env.VIDSRC_DOMAIN`
6868
*/
6969
const appConfig = () => {
7070
return {
@@ -94,8 +94,8 @@ const appConfig = () => {
9494
OMDB_API_URL: process.env.OMDB_API_URL || 'http://www.omdbapi.com',
9595
OMDB_IMG_URL: process.env.OMDB_IMG_URL || 'http://img.omdbapi.com',
9696
// The vidsrc player domain has been prone to be taken down. Use one of the following domains if it's not working:
97-
// vidsrc.in, vidsrc.pm, vidsrc.xyz, vidsrc.net
98-
VIDSRC_DOMAIN: process.env.VIDSRC_DOMAIN || 'vidsrc.in',
97+
// vidsrc-embed.ru, vidsrc-embed.su, vidsrcme.su, vsrc.su
98+
VIDSRC_DOMAIN: process.env.VIDSRC_DOMAIN || 'vidsrcme.su',
9999
// Optional multi-server domain for alternate embeds.
100100
MULTI_DOMAIN: process.env.MULTI_DOMAIN,
101101
/* c8 ignore stop */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.2.0",
44
"description": "Web application that provides a user-friendly interface for searching and watching movies and TV shows.",
55
"license": "MIT",
6-
"copyright": "Copyright (c) 2024 Justin Hartman. All rights reserved.",
6+
"copyright": "Copyright (c) 2024-2025 Justin Hartman. All rights reserved.",
77
"author": "Justin Hartman <code@justhart.com>",
88
"repository": {
99
"type": "git",

0 commit comments

Comments
 (0)