From bd75cb3bb8a83b8e0afb4684fe42890ec9893e15 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 11:30:42 +0300 Subject: [PATCH 1/7] fix(app): redirect strategy --- front/src/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index 1b776ec1..3fefe96e 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -13,7 +13,8 @@ ReactDOM.createRoot(document.getElementById("root")!).render( manifestUrl={manifestUrl} actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", - returnStrategy: "https://t.me/awesome_cyber_bot/tonconnectwasm", + // // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", + returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", }} > From 4c3a51005a5b5f1d0107219654f5305a35c58a15 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 12:49:20 +0300 Subject: [PATCH 2/7] fix: redirect --- front/src/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index 3fefe96e..5ae2cc77 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -14,8 +14,9 @@ ReactDOM.createRoot(document.getElementById("root")!).render( actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", // // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", - returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", + // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", + skipRedirectToWallet: "never", }} > From ce52f39f5315b2340493b3273a2ce911462ac245 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 12:52:29 +0300 Subject: [PATCH 3/7] fix: redirect --- front/src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index 5ae2cc77..8d58365a 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -14,8 +14,8 @@ ReactDOM.createRoot(document.getElementById("root")!).render( actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", // // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", - // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", - twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", + returnStrategy: "back", + // twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", skipRedirectToWallet: "never", }} > From 34338a0ae573ecf66929c18362a91a1494774e80 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 12:58:21 +0300 Subject: [PATCH 4/7] fix: redirect3 --- front/src/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index 8d58365a..ec8ef15a 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -13,9 +13,10 @@ ReactDOM.createRoot(document.getElementById("root")!).render( manifestUrl={manifestUrl} actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", - // // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", + // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", returnStrategy: "back", // twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", + modals: "all", skipRedirectToWallet: "never", }} > From 260f649e40a603954c0147c435a5c4be90891fe8 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 13:01:39 +0300 Subject: [PATCH 5/7] fix: redirect3 --- front/src/main.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index ec8ef15a..865ff115 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -14,10 +14,10 @@ ReactDOM.createRoot(document.getElementById("root")!).render( actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", - returnStrategy: "back", - // twaReturnUrl: "https://t.me/awesome_cyber_bot/tonconnectwasm", - modals: "all", - skipRedirectToWallet: "never", + // returnStrategy: "back", + twaReturnUrl: "https://t.me/awesome_cyber_bot/start", + // modals: "all", + // skipRedirectToWallet: "never", }} > From 83a3b8920f6034ccba503c49ac10638cc1760f11 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 13:10:38 +0300 Subject: [PATCH 6/7] fix: revert redirect --- front/src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index 865ff115..f29a754a 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -13,9 +13,9 @@ ReactDOM.createRoot(document.getElementById("root")!).render( manifestUrl={manifestUrl} actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", - // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", + returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", // returnStrategy: "back", - twaReturnUrl: "https://t.me/awesome_cyber_bot/start", + // twaReturnUrl: "https://t.me/awesome_cyber_bot/start", // modals: "all", // skipRedirectToWallet: "never", }} From 360c41b7a3d3df7f1b5f26136bcb36ca99e24855 Mon Sep 17 00:00:00 2001 From: dasein Date: Thu, 30 May 2024 13:14:16 +0300 Subject: [PATCH 7/7] fix: revert redirect2 --- front/src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/main.tsx b/front/src/main.tsx index f29a754a..0c81e0f0 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -13,8 +13,8 @@ ReactDOM.createRoot(document.getElementById("root")!).render( manifestUrl={manifestUrl} actionsConfiguration={{ // returnStrategy: "https://t.me/awesome_cyber_bot", - returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", - // returnStrategy: "back", + // returnStrategy: "https://ton-wasm-cyber-hackathon.netlify.app", + returnStrategy: "back", // twaReturnUrl: "https://t.me/awesome_cyber_bot/start", // modals: "all", // skipRedirectToWallet: "never",