abdullahalioo commited on
Commit
f34113e
·
verified ·
1 Parent(s): 7981fb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -61,11 +61,7 @@ def index():
61
  """Main page with API documentation"""
62
  return render_template('index.html')
63
 
64
- @app.route('/admin')
65
- def admin():
66
- """Admin dashboard to view all tickets"""
67
- tickets = load_tickets()
68
- return render_template('admin.html', tickets=tickets, total_tickets=len(tickets))
69
 
70
  @app.route('/add_data/<email>/<phone>/<name>/<int:tickets>/<ticket_number>/<country>/<region>')
71
  def add_ticket_data(email, phone, name, tickets, ticket_number, country, region):
 
61
  """Main page with API documentation"""
62
  return render_template('index.html')
63
 
64
+
 
 
 
 
65
 
66
  @app.route('/add_data/<email>/<phone>/<name>/<int:tickets>/<ticket_number>/<country>/<region>')
67
  def add_ticket_data(email, phone, name, tickets, ticket_number, country, region):