Skip to content

Commit

Permalink
Changed domain to mywatchlists.xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
EsztiDi committed Jul 24, 2022
1 parent 8327028 commit 7eb022e
Show file tree
Hide file tree
Showing 18 changed files with 84 additions and 87 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
2 changes: 1 addition & 1 deletion .github/workflows/weekly-emails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7 changes: 2 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -54,8 +52,7 @@ module.exports = withPWA({
"avatars.githubusercontent.com",
"media-exp3.licdn.com",
"image.tmdb.org",
"mywatchlists.watch",
"mywatchlists.ml",
"mywatchlists.xyz",
"localhost",
],
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pages/500.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Custom500() {
<Typography variant="h4">Server Error</Typography>
<Typography variant="h6" style={{ paddingBottom: "1rem" }}>
We&apos;re sorry, something went wrong. Please try again or email
contact@mywatchlists.watch
contact@mywatchlists.xyz
</Typography>
<Image priority src="/puppy1.jpg" alt="" width={360} height={480} />
<br />
Expand Down
4 changes: 2 additions & 2 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function About() {
<Typography>All enquiries, feedback are welcome.</Typography>
<Typography>
<b>Email: </b>
contact@mywatchlists.watch
contact@mywatchlists.xyz
</Typography>
<Typography variant="h4">About</Typography>
<Typography>
Expand Down
2 changes: 1 addition & 1 deletion pages/api/auth/[...nextauth].js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
2 changes: 1 addition & 1 deletion pages/api/cron/emails.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions pages/privacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</Typography>
<Typography>
When you visit our website {process.env.BASE_URL} (the &quot;
Expand Down Expand Up @@ -413,7 +413,7 @@ export default function Privacy() {
</Typography>
<Typography>
If you have questions or comments about your privacy rights, you may
email us at contact@mywatchlists.watch.
email us at contact@mywatchlists.xyz.
</Typography>
<Typography variant="h6">Account Information</Typography>
<Typography>
Expand Down Expand Up @@ -510,7 +510,7 @@ export default function Privacy() {
</Typography>
<Typography>
If you have questions or comments about this notice, you may email
us at contact@mywatchlists.watch.
us at contact@mywatchlists.xyz.
</Typography>
<Typography>
If you are a resident in the European Economic Area or the United
Expand Down
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Disallow: /*.jpg$
Disallow: /*.svg$
Disallow: /*.ico$

Sitemap: https://mywatchlists.watch/sitemap.xml
Sitemap: https://mywatchlists.xyz/sitemap.xml
6 changes: 3 additions & 3 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

<url>
<loc>https://mywatchlists.watch/</loc>
<loc>https://mywatchlists.xyz/</loc>
</url>
<url>
<loc>https://mywatchlists.watch/login</loc>
<loc>https://mywatchlists.xyz/login</loc>
</url>
<url>
<loc>https://mywatchlists.watch/about</loc>
<loc>https://mywatchlists.xyz/about</loc>
</url>

</urlset>
24 changes: 12 additions & 12 deletions templates/loginEmail.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"
Expand Down Expand Up @@ -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;
"
Expand Down Expand Up @@ -382,7 +382,7 @@
>
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr style="line-height:0px"><td style="padding-right: 0px;padding-left: 0px;" align="center"><!
[endif]--><a
href="https://mywatchlists.watch"
href="https://mywatchlists.xyz"
style="outline: none"
tabindex="-1"
target="_blank"
Expand All @@ -391,7 +391,7 @@
align="center"
border="0"
class="center fixedwidth col_cont"
src="https://mywatchlists.watch/logo.png"
src="https://mywatchlists.xyz/logo.png"
style="
text-decoration: none;
-ms-interpolation-mode: bicubic;
Expand Down Expand Up @@ -458,7 +458,7 @@
>
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr style="line-height:0px"><td style="padding-right: 0px;padding-left: 0px;" align="center"><!
[endif]--><a
href="https://mywatchlists.watch"
href="https://mywatchlists.xyz"
style="outline: none"
tabindex="-1"
target="_blank"
Expand All @@ -467,7 +467,7 @@
align="center"
border="0"
class="center autowidth"
src="https://mywatchlists.watch/title.png"
src="https://mywatchlists.xyz/title.png"
style="
text-decoration: none;
-ms-interpolation-mode: bicubic;
Expand Down Expand Up @@ -891,7 +891,7 @@
width="100%"
>
<a
href="https://mywatchlists.watch"
href="https://mywatchlists.xyz"
rel="noopener"
style="text-decoration: none; color: #000"
target="_blank"
Expand Down Expand Up @@ -1209,7 +1209,7 @@
<tr>
<td style="padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px"><!
[endif]--><a
href="https://mywatchlists.watch/privacy"
href="https://mywatchlists.xyz/privacy"
style="
padding-top: 15px;
padding-bottom: 15px;
Expand Down Expand Up @@ -1351,11 +1351,11 @@
The&nbsp;Watchlist&nbsp;App&nbsp;&nbsp;| 
London,&nbsp;UK&nbsp;&nbsp;| 
<a
href="mailto:contact@mywatchlists.watch?subject=Enquiry"
href="mailto:contact@mywatchlists.xyz?subject=Enquiry"
rel="noopener"
style="text-decoration: none; color: #a5a5a5"
target="_blank"
>contact@mywatchlists.watch</a
>contact@mywatchlists.xyz</a
>
</p>
</div>
Expand Down Expand Up @@ -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;
"
Expand Down Expand Up @@ -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"
/></a>
Expand Down
22 changes: 11 additions & 11 deletions templates/loginEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"
Expand Down Expand Up @@ -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;
"
Expand Down Expand Up @@ -390,7 +390,7 @@ export default function loginHTML({ url, email }) {
>
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr style="line-height:0px"><td style="padding-right: 0px;padding-left: 0px;" align="center"><!
[endif]--><a
href="https://mywatchlists.watch"
href="https://mywatchlists.xyz"
style="outline: none"
tabindex="-1"
target="_blank"
Expand All @@ -399,7 +399,7 @@ export default function loginHTML({ url, email }) {
align="center"
border="0"
class="center fixedwidth col_cont"
src="https://mywatchlists.watch/logo.png"
src="https://mywatchlists.xyz/logo.png"
style="
text-decoration: none;
-ms-interpolation-mode: bicubic;
Expand Down Expand Up @@ -466,7 +466,7 @@ export default function loginHTML({ url, email }) {
>
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr style="line-height:0px"><td style="padding-right: 0px;padding-left: 0px;" align="center"><!
[endif]--><a
href="https://mywatchlists.watch"
href="https://mywatchlists.xyz"
style="outline: none"
tabindex="-1"
target="_blank"
Expand All @@ -475,7 +475,7 @@ export default function loginHTML({ url, email }) {
align="center"
border="0"
class="center autowidth"
src="https://mywatchlists.watch/title.png"
src="https://mywatchlists.xyz/title.png"
style="
text-decoration: none;
-ms-interpolation-mode: bicubic;
Expand Down Expand Up @@ -1217,7 +1217,7 @@ export default function loginHTML({ url, email }) {
<tr>
<td style="padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px"><!
[endif]--><a
href="https://mywatchlists.watch/privacy"
href="https://mywatchlists.xyz/privacy"
style="
padding-top: 15px;
padding-bottom: 15px;
Expand Down Expand Up @@ -1359,11 +1359,11 @@ export default function loginHTML({ url, email }) {
The&nbsp;Watchlist&nbsp;App&nbsp;&nbsp;| 
London,&nbsp;UK&nbsp;&nbsp;| 
<a
href="mailto:contact@mywatchlists.watch?subject=Enquiry"
href="mailto:contact@mywatchlists.xyz?subject=Enquiry"
rel="noopener"
style="text-decoration: none; color: #a5a5a5"
target="_blank"
>contact@mywatchlists.watch</a
>contact@mywatchlists.xyz</a
>
</p>
</div>
Expand Down Expand Up @@ -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;
"
Expand Down Expand Up @@ -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"
/></a>
Expand Down
Loading

1 comment on commit 7eb022e

@vercel
Copy link

@vercel vercel bot commented on 7eb022e Jul 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.