Upload files to "/"
This commit is contained in:
5
app.py
5
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():
|
||||
|
Reference in New Issue
Block a user