diff --git a/.github/workflows/daily-update.yml b/.github/workflows/daily-update.yml index 522318c..17407fb 100644 --- a/.github/workflows/daily-update.yml +++ b/.github/workflows/daily-update.yml @@ -9,4 +9,4 @@ jobs: - name: Call api/cron/daily run: | curl --request GET \ - --url 'https://mywatchlists.watch/api/cron/daily' \ + --url 'https://mywatchlists.xyz/api/cron/daily' \ diff --git a/.github/workflows/weekly-emails.yml b/.github/workflows/weekly-emails.yml index b8a3299..a008349 100644 --- a/.github/workflows/weekly-emails.yml +++ b/.github/workflows/weekly-emails.yml @@ -9,4 +9,4 @@ jobs: - name: Call api/cron/emails run: | curl --request GET \ - --url 'https://mywatchlists.watch/api/cron/emails' \ + --url 'https://mywatchlists.xyz/api/cron/emails' \ diff --git a/README.md b/README.md index f2e1f95..ef4782b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Offers a calendar view and subscription to a weekly releases summary email. ## Getting Started -https://mywatchlists.watch/ +https://mywatchlists.xyz/ To create or save watchlists a user account is required which can be created with social login or an email address. diff --git a/next.config.js b/next.config.js index 0535b13..37dd9ea 100644 --- a/next.config.js +++ b/next.config.js @@ -39,9 +39,7 @@ module.exports = withPWA({ BASE_URL: process.env.NODE_ENV === "development" ? "http://localhost:3000" - : process.env.NODE_ENV === "preview" - ? "https://mywatchlists.ml" - : "https://mywatchlists.watch", + : "https://mywatchlists.xyz", TMDB_API_KEY: "592e824bf5b4f2ff01f370433fa8060e", TMDB_BEARER: "Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiI1OTJlODI0YmY1YjRmMmZmMDFmMzcwNDMzZmE4MDYwZSIsInN1YiI6IjVmYjAyMWM1M2E0OGM1MDAzYzdkMzIwMCIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.QzwyPUiBvs0HSJdWGc29IKOVuOakq77aKy6sUr_WLtQ", @@ -54,8 +52,7 @@ module.exports = withPWA({ "avatars.githubusercontent.com", "media-exp3.licdn.com", "image.tmdb.org", - "mywatchlists.watch", - "mywatchlists.ml", + "mywatchlists.xyz", "localhost", ], }, diff --git a/package.json b/package.json index 507f726..8b57051 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "type": "git", "url": "https://github.com/EsztiDi/watchlist-app" }, - "homepage": "https://mywatchlists.watch", + "homepage": "https://mywatchlists.xyz", "scripts": { "dev": "next dev", "build": "next build", diff --git a/pages/500.js b/pages/500.js index 12e2228..34bea67 100644 --- a/pages/500.js +++ b/pages/500.js @@ -13,7 +13,7 @@ export default function Custom500() { Server Error We're sorry, something went wrong. Please try again or email - contact@mywatchlists.watch + contact@mywatchlists.xyz
diff --git a/pages/_app.js b/pages/_app.js index ae96b3a..df6729f 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -216,11 +216,11 @@ export default function MyApp({ Component, pageProps }) { useEffect(() => { if (router?.query?.error?.includes("OAuthAccountNotLinked")) { setMessage( - "Please sign in with the same account you used originally or email contact@mywatchlists.watch" + "Please sign in with the same account you used originally or email contact@mywatchlists.xyz" ); } else if (router?.query?.error) { setMessage( - `${router?.query?.error} – Please try again or email contact@mywatchlists.watch` + `${router?.query?.error} – Please try again or email contact@mywatchlists.xyz` ); } }, [router?.query]); diff --git a/pages/about.js b/pages/about.js index 4464d37..43fe76e 100644 --- a/pages/about.js +++ b/pages/about.js @@ -63,7 +63,7 @@ export default function About() { All enquiries, feedback are welcome. Email: - contact@mywatchlists.watch + contact@mywatchlists.xyz About diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js index 1f74eaf..b263ab4 100644 --- a/pages/api/auth/[...nextauth].js +++ b/pages/api/auth/[...nextauth].js @@ -45,7 +45,7 @@ export default NextAuth({ `Sign in as ${email} to ${site}\n${url}\n\n`; const emailParams = new EmailParams() - .setFrom("contact@mywatchlists.watch") + .setFrom("contact@mywatchlists.xyz") .setFromName("Watchlist App") .setRecipients(recipient) .setSubject(`Sign in to ${site}`) diff --git a/pages/api/cron/emails.js b/pages/api/cron/emails.js index 3461b8d..4dcf8c7 100644 --- a/pages/api/cron/emails.js +++ b/pages/api/cron/emails.js @@ -179,7 +179,7 @@ export default async function handler(req, res) { const text = weeklyText(upcoming); const emailParams = new EmailParams() - .setFrom("releases@mywatchlists.watch") + .setFrom("releases@mywatchlists.xyz") .setFromName("Watchlist App") .setRecipients(recipient) .setSubject("Your weekly releases summary") diff --git a/pages/privacy.js b/pages/privacy.js index 648995c..2095cc6 100644 --- a/pages/privacy.js +++ b/pages/privacy.js @@ -96,7 +96,7 @@ export default function Privacy() { personal information and your right to privacy. If you have any questions or concerns about this privacy notice, or our practices with regards to your personal information, please contact us at - contact@mywatchlists.watch. + contact@mywatchlists.xyz. When you visit our website {process.env.BASE_URL} (the " @@ -413,7 +413,7 @@ export default function Privacy() { If you have questions or comments about your privacy rights, you may - email us at contact@mywatchlists.watch. + email us at contact@mywatchlists.xyz. Account Information @@ -510,7 +510,7 @@ export default function Privacy() { If you have questions or comments about this notice, you may email - us at contact@mywatchlists.watch. + us at contact@mywatchlists.xyz. If you are a resident in the European Economic Area or the United diff --git a/public/robots.txt b/public/robots.txt index 88bb357..fb1652b 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -21,4 +21,4 @@ Disallow: /*.jpg$ Disallow: /*.svg$ Disallow: /*.ico$ -Sitemap: https://mywatchlists.watch/sitemap.xml \ No newline at end of file +Sitemap: https://mywatchlists.xyz/sitemap.xml \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml index 023f374..ebfa341 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -6,13 +6,13 @@ http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> - https://mywatchlists.watch/ + https://mywatchlists.xyz/ - https://mywatchlists.watch/login + https://mywatchlists.xyz/login - https://mywatchlists.watch/about + https://mywatchlists.xyz/about \ No newline at end of file diff --git a/templates/loginEmail.html b/templates/loginEmail.html index ac67e2d..511a197 100644 --- a/templates/loginEmail.html +++ b/templates/loginEmail.html @@ -237,7 +237,7 @@ mso-table-rspace: 0pt; width: 100%; background-color: #f8d070; - background-image: url('https://mywatchlists.watch/popcorn.png'); + background-image: url('https://mywatchlists.xyz/popcorn.png'); background-position: center top; background-repeat: repeat; " @@ -270,7 +270,7 @@ display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -382,7 +382,7 @@ > contact@mywatchlists.watchcontact@mywatchlists.xyz

@@ -1393,7 +1393,7 @@ display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -1565,7 +1565,7 @@ align="center" class="icon" height="32" - src="https://mywatchlists.watch/bee.png" + src="https://mywatchlists.xyz/bee.png" style="border: 0" width="null" /> diff --git a/templates/loginEmail.js b/templates/loginEmail.js index cc15803..5be2881 100644 --- a/templates/loginEmail.js +++ b/templates/loginEmail.js @@ -245,7 +245,7 @@ export default function loginHTML({ url, email }) { mso-table-rspace: 0pt; width: 100%; background-color: #f8d070; - background-image: url('https://mywatchlists.watch/popcorn.png'); + background-image: url('https://mywatchlists.xyz/popcorn.png'); background-position: center top; background-repeat: repeat; " @@ -278,7 +278,7 @@ export default function loginHTML({ url, email }) { display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -390,7 +390,7 @@ export default function loginHTML({ url, email }) { > contact@mywatchlists.watchcontact@mywatchlists.xyz

@@ -1401,7 +1401,7 @@ export default function loginHTML({ url, email }) { display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -1573,7 +1573,7 @@ export default function loginHTML({ url, email }) { align="center" class="icon" height="32" - src="https://mywatchlists.watch/bee.png" + src="https://mywatchlists.xyz/bee.png" style="border: 0" width="null" /> diff --git a/templates/weekly.html b/templates/weekly.html index 8a21b6d..96d6c61 100644 --- a/templates/weekly.html +++ b/templates/weekly.html @@ -237,7 +237,7 @@ mso-table-rspace: 0pt; width: 100%; background-color: #f8d070; - background-image: url('https://mywatchlists.watch/popcorn.png'); + background-image: url('https://mywatchlists.xyz/popcorn.png'); background-position: center top; background-repeat: repeat; " @@ -270,7 +270,7 @@ display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -382,7 +382,7 @@ > mywatchlists.watchmywatchlists.xyz

@@ -1658,7 +1658,7 @@ you can contact@mywatchlists.watchcontact@mywatchlists.xyz

@@ -1849,7 +1849,7 @@ display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -2021,7 +2021,7 @@ align="center" class="icon" height="32" - src="https://mywatchlists.watch/bee.png" + src="https://mywatchlists.xyz/bee.png" style="border: 0" width="null" /> diff --git a/templates/weeklyHtml.js b/templates/weeklyHtml.js index caf189a..f711d6a 100644 --- a/templates/weeklyHtml.js +++ b/templates/weeklyHtml.js @@ -253,7 +253,7 @@ export default function weeklyHTML(lists) { mso-table-rspace: 0pt; width: 100%; background-color: #f8d070; - background-image: url('https://mywatchlists.watch/popcorn.png'); + background-image: url('https://mywatchlists.xyz/popcorn.png'); background-position: center top; background-repeat: repeat; " @@ -286,7 +286,7 @@ export default function weeklyHTML(lists) { display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -396,7 +396,7 @@ export default function weeklyHTML(lists) { > mywatchlists.watchmywatchlists.xyz

@@ -1703,7 +1703,7 @@ export default function weeklyHTML(lists) { you can contact@mywatchlists.watchcontact@mywatchlists.xyz

@@ -1894,7 +1894,7 @@ export default function weeklyHTML(lists) { display: table; width: 100%; background-color: transparent; - background-image: url('https://mywatchlists.watch/top.png'); + background-image: url('https://mywatchlists.xyz/top.png'); background-position: top left; background-repeat: repeat; " @@ -2067,7 +2067,7 @@ export default function weeklyHTML(lists) { alt="Designed with BEE" class="icon" height="32" - src="https://mywatchlists.watch/bee.png" + src="https://mywatchlists.xyz/bee.png" style="border: 0" width="null" /> diff --git a/templates/weeklyText.js b/templates/weeklyText.js index 6e5a7a2..038e37d 100644 --- a/templates/weeklyText.js +++ b/templates/weeklyText.js @@ -37,12 +37,12 @@ export default function weeklyText(lists) { middle += movies; } - const bottom = `\nEnjoy! 🙂\n\n\nLists: https://mywatchlists.watch/lists\n -Account: https://mywatchlists.watch/account\n -Privacy Notice: https://mywatchlists.watch/privacy\n\n\n\n -You are receiving this email because you have opted in for the weekly releases summary for one or more of your watchlists on mywatchlists.watch\n\n -If you would prefer not to receive emails anymore, you can unsubscribe from all in your account - https://mywatchlists.watch/account - or unselect the "Emails" option - https://mywatchlists.watch/emails-toggle.jpg - for individual watchlists to receive fewer emails.\n\n\n -The Watchlist App |  London, UK |  contact@mywatchlists.watch\n\n`; + const bottom = `\nEnjoy! 🙂\n\n\nLists: https://mywatchlists.xyz/lists\n +Account: https://mywatchlists.xyz/account\n +Privacy Notice: https://mywatchlists.xyz/privacy\n\n\n\n +You are receiving this email because you have opted in for the weekly releases summary for one or more of your watchlists on mywatchlists.xyz\n\n +If you would prefer not to receive emails anymore, you can unsubscribe from all in your account - https://mywatchlists.xyz/account - or unselect the "Emails" option - https://mywatchlists.xyz/emails-toggle.jpg - for individual watchlists to receive fewer emails.\n\n\n +The Watchlist App |  London, UK |  contact@mywatchlists.xyz\n\n`; return top + middle + bottom; }