Upload files to "/"

This commit is contained in:
2024-11-28 01:38:10 -05:00
parent 63fcf62537
commit 85b1092540

5
app.py
View File

@ -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():