soiz1 commited on
Commit
f75f7c7
·
verified ·
1 Parent(s): 010d6b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -3
app.py CHANGED
@@ -151,9 +151,24 @@ def close3():
151
  </body>
152
  </html>
153
  '''
154
-
155
-
156
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
  if __name__ == '__main__':
159
  app.run(host='0.0.0.0', port=7860)
 
151
  </body>
152
  </html>
153
  '''
154
+
155
+ @app.route('/close4')
156
+ def close4():
157
+ query = request.query_string.decode()
158
+ return f'''
159
+ <html lang="ja">
160
+ <head>
161
+ <meta charset="UTF-8">
162
+ <title>ログイン中...</title>
163
+ <script>
164
+ window.location.href = "/login.php?{query}";
165
+ </script>
166
+ </head>
167
+ <body>
168
+ <p>ログイン処理中です。しばらくお待ちください...</p>
169
+ </body>
170
+ </html>
171
+ '''
172
 
173
  if __name__ == '__main__':
174
  app.run(host='0.0.0.0', port=7860)