From 85b1092540c35a5d55df821323ca7ffd874d55be Mon Sep 17 00:00:00 2001 From: Matthew Iverson Date: Thu, 28 Nov 2024 01:38:10 -0500 Subject: [PATCH] Upload files to "/" --- app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 35a26f3..8f38cf7 100644 --- a/app.py +++ b/app.py @@ -4,7 +4,7 @@ import os from flask import Flask, render_template, request, redirect, url_for, abort from Modules.windows import get_windows_content - +from Modules.rule_creation import get_rule_creation_content from Modules.linux import get_linux_content from Modules.tips import get_random_tip_or_joke from Modules.methodology import get_methodology_content @@ -120,7 +120,8 @@ def linux_section(title): @app.route('/rule_creation') def rule_creation(): - return render_template('rule_creation.html') + content = get_rule_creation_content() + return render_template('rule_creation.html', content=content) @app.route('/windows') def windows():