Skip to content

Commit

Permalink
remove Android and iOS well-known files for app support and app redir…
Browse files Browse the repository at this point in the history
…ects
  • Loading branch information
norbertschuler committed Aug 25, 2023
1 parent 9ca9e4a commit 13dbc5e
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 194 deletions.
45 changes: 0 additions & 45 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,61 +1,16 @@
[build]
command = "npm run build"
publish = ".next"
[[redirects]]
from = "/account-activate/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/competition/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/donate-tree"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/donate-trees"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/donate-trees/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/my-trees"
to = "/login"
status = 301
force = false
[[redirects]]
from = "/project/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/redeem"
to = "/login"
status = 301
force = false
[[redirects]]
from = "/reset-password/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/signup"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/signup/*"
to = "/open-app"
status = 301
force = false
[[redirects]]
from = "/yucatan-reforestation"
to = "/yucatan"
Expand Down
45 changes: 0 additions & 45 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,61 +135,16 @@ const nextConfig = {
},
async redirects() {
return [
{
source: '/account-activate/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/competition/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/donate-tree',
destination: '/open-app',
permanent: true,
},
{
source: '/donate-trees',
destination: '/open-app',
permanent: true,
},
{
source: '/donate-trees/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/my-trees',
destination: '/login',
permanent: true,
},
{
source: '/project/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/redeem',
destination: '/login',
permanent: true,
},
{
source: '/reset-password/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/signup',
destination: '/open-app',
permanent: true,
},
{
source: '/signup/:slug*',
destination: '/open-app',
permanent: true,
},
{
source: '/yucatan-reforestation',
destination: '/yucatan',
Expand Down
58 changes: 0 additions & 58 deletions pages/open-app.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions public/.well-known/apple-app-site-association

This file was deleted.

12 changes: 0 additions & 12 deletions public/.well-known/assetlinks.json

This file was deleted.

9 changes: 0 additions & 9 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/account-activate/* /open-app 301
/competition/* /open-app 301
/donate-tree /open-app 301
/donate-trees /open-app 301
/donate-trees/* /open-app 301
/my-trees /login 301
/project/* /open-app 301
/redeem /login 301
/reset-password/* /open-app 301
/signup /open-app 301
/signup/ /open-app 301
/yucatan-reforestation /yucatan 301
1 change: 0 additions & 1 deletion public/static/locales/cs/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"december": "Prosinec",
"approx": "Přibližně",
"view": "Zobrazit",
"opening_native_app": "Tato stránka je dostupná pouze v naší aplikaci pro iOS nebo Android.",
"verifyEmailHeader": "Potvrďte prosím svůj e-mail.",
"verifyEmailText": "Abychom mohli váš účet zabezpečit, musíme ověřit váš e-mail. Zkontrolujte, zda vám přišel potvrzovací e-mail a pokračujte v přihlašování.",
"verifyEmailInfo": "Pokud jste e-mail neobdrželi, zkuste se znovu přihlásit a my vám pošleme další e-mail.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"december": "Dezember",
"approx": "Ungefähr",
"view": "Ansehen",
"opening_native_app": "Diese Seite ist nur in unserer iOS- oder Android-App verfügbar.",
"verifyEmailHeader": "Bitte bestätige Deine E-Mail.",
"verifyEmailText": "Um Dein Konto zu sichern, müssen wir Deine E-Mail verifizieren. Bitte überprüfe Deinen Posteingang oder Deinen Spam- bzw. Junk-Ordner auf eine Bestätigungs-E-Mail und fahre dann mit dem Login fort.",
"verifyEmailInfo": "Wenn Du keine E-Mail erhalten hast, versuche bitte erneut, Dich anzumelden, und wir senden Dir eine weitere E-Mail.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"december": "December",
"approx": "Approx.",
"view": "View",
"opening_native_app": "This page is only available in our iOS or Android app.",
"verifyEmailHeader": "Please confirm your email.",
"verifyEmailText": "To secure your account, we need to verify your email. Please check your inbox or spam/junk folder for a confirmation email and then continue to login.",
"verifyEmailInfo": "If you didn’t receive an email please try logging in again and we’ll send you another email.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"december": "Diciembre",
"approx": "Aproximadamente",
"view": "Ver",
"opening_native_app": "Esta página sólo está disponible en nuestra aplicación iOS o Android.",
"verifyEmailHeader": "Por favor, confirma tu correo electrónico.",
"verifyEmailText": "Para asegurar su cuenta, necesitamos verificar su correo electrónico. Por favor, compruebe su bandeja de entrada o la carpeta de spam/junk para un correo electrónico de confirmación y luego continúe con el inicio de sesión.",
"verifyEmailInfo": "Si no recibiste un correo electrónico, por favor, intenta iniciar sesión de nuevo y te enviaremos otro correo electrónico.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"december": "Décembre",
"approx": "Approx.",
"view": "Voir",
"opening_native_app": "Cette page n'est disponible que dans notre application iOS ou Android.",
"verifyEmailHeader": "Veuillez confirmer votre email.",
"verifyEmailText": "Pour sécuriser votre compte, nous devons vérifier votre email. Vérifier votre boîte de réception ou votre dossier spam/corbeille pour trouver un email de confirmation, puis reconnectez vous.",
"verifyEmailInfo": "Si vous n'avez pas reçu d'email, reconnectez vous et nous vous enverrons un autre email.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/it/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"december": "Dicembre",
"approx": "Approssimativamente",
"view": "Vedi",
"opening_native_app": "Questa pagina è disponibile solo nella nostra applicazione iOS o Android.",
"verifyEmailHeader": "Si prega di confermare l'e-mail.",
"verifyEmailText": "Per proteggere il tuo account, dobbiamo verificare la tua email. Controlla la tua casella di posta in arrivo o la cartella spam/spam/junk per una e-mail di conferma e poi continua a effettuare il login.",
"verifyEmailInfo": "Se non hai ricevuto un'e-mail, prova ad effettuare nuovamente il login e ti invieremo un'altra e-mail.",
Expand Down
1 change: 0 additions & 1 deletion public/static/locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"december": "Dezembro",
"approx": "Aprox.",
"view": "Ver",
"opening_native_app": "Esta página só está disponível no nosso aplicativo iOS ou Android.",
"verifyEmailHeader": "Por favor, confirme o seu e-mail.",
"verifyEmailText": "Para proteger a sua conta, precisamos de verificar o seu e-mail. Por favor verifique a sua caixa de entrada ou pasta de spam/junk para um e-mail de confirmação e depois continue a fazer login.",
"verifyEmailInfo": "Se você não recebeu um e-mail, por favor tente entrar novamente e nós lhe enviaremos outro e-mail.",
Expand Down

0 comments on commit 13dbc5e

Please sign in to comment.