feat: Add LinkTelegram page and routing; enhance login flow to support redirection from linkTelegram
This commit is contained in:
@@ -424,6 +424,11 @@ const renderApp = async (categoryData, socket) => {
|
||||
const resetPasswordPath = path.resolve(__dirname, config.outputDir, "resetPassword");
|
||||
fs.copyFileSync(indexPath, resetPasswordPath);
|
||||
console.log(`✅ Copied index.html to ${resetPasswordPath}`);
|
||||
|
||||
// Copy index.html to linkTelegram (no file extension) for SPA routing
|
||||
const linkTelegramPath = path.resolve(__dirname, config.outputDir, "linkTelegram");
|
||||
fs.copyFileSync(indexPath, linkTelegramPath);
|
||||
console.log(`✅ Copied index.html to ${linkTelegramPath}`);
|
||||
}
|
||||
|
||||
// Render static pages
|
||||
|
||||
Reference in New Issue
Block a user