Update src/main.py
Browse files- src/main.py +2 -2
src/main.py
CHANGED
|
@@ -72,14 +72,14 @@ def create_app():
|
|
| 72 |
|
| 73 |
# --- Basic Routes ---
|
| 74 |
@app.route('/',endpoint='index')
|
| 75 |
-
|
| 76 |
def index():
|
| 77 |
# Redirect to a default page, e.g., drafts list or a future dashboard
|
| 78 |
return redirect(url_for('drafting.list_drafts'))
|
| 79 |
|
| 80 |
# Add a simple dashboard route placeholder
|
| 81 |
@app.route('/dashboard')
|
| 82 |
-
|
| 83 |
def dashboard():
|
| 84 |
# Placeholder for a real dashboard
|
| 85 |
username = session.get('username', 'Guest')
|
|
|
|
| 72 |
|
| 73 |
# --- Basic Routes ---
|
| 74 |
@app.route('/',endpoint='index')
|
| 75 |
+
#@login_required
|
| 76 |
def index():
|
| 77 |
# Redirect to a default page, e.g., drafts list or a future dashboard
|
| 78 |
return redirect(url_for('drafting.list_drafts'))
|
| 79 |
|
| 80 |
# Add a simple dashboard route placeholder
|
| 81 |
@app.route('/dashboard')
|
| 82 |
+
#@login_required
|
| 83 |
def dashboard():
|
| 84 |
# Placeholder for a real dashboard
|
| 85 |
username = session.get('username', 'Guest')
|