pmrony commited on
Commit
6411fac
·
verified ·
1 Parent(s): e4b8747

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -24
app.py CHANGED
@@ -50,30 +50,6 @@ async def db_query(func):
50
  def index():
51
  return "Bot, Media Uploader, and Real Session API is Running! 🚀"
52
 
53
- # রাশিয়ান স্টাইলের ওটিপি চ্যাট রিডাইরেক্টর গেটওয়ে
54
- @app.route('/api/jump')
55
- def jump_to_telegram():
56
- html_content = """
57
- <!DOCTYPE html>
58
- <html>
59
- <head>
60
- <title>Redirecting...</title>
61
- <script>
62
- window.location.href = "tg://openmessage?user_id=777000";
63
- setTimeout(function() {
64
- window.close();
65
- }, 500);
66
- </script>
67
- </head>
68
- <body style="background:#000; color:#fff; display:flex; justify-content:center; align-items:center; height:100vh; font-family:sans-serif;">
69
- <div style="text-align:center;">
70
- <div style="font-size:20px; margin-bottom:10px;">⏳ Connecting...</div>
71
- <div style="font-size:12px; color:#888;">Opening Telegram Service Notifications</div>
72
- </div>
73
- </body>
74
- </html>
75
- """
76
- return make_response(html_content)
77
 
78
  def add_cors_headers(response):
79
  response.headers['Access-Control-Allow-Origin'] = '*'
 
50
  def index():
51
  return "Bot, Media Uploader, and Real Session API is Running! 🚀"
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
  def add_cors_headers(response):
55
  response.headers['Access-Control-Allow-Origin'] = '*'