Izmenjen templates folder tako da bude modularniji #4

Merged
fram3d merged 2 commits from svitvojimilioni/taskmanager:better-templates into master 2024-01-19 16:17:38 +00:00
Showing only changes of commit 2d4b88bc7a - Show all commits

View File

@ -4,11 +4,11 @@ from taskmanager.functions import *
from taskmanager.models import *
import configparser
CONFIG_PATH = "/home/bob/kod-foss/taskmanager/taskmanager/config.ini"
CONFIG_PATH = "/var/taskmanager/taskmanager/config.ini"
config = configparser.ConfigParser()
config.read(CONFIG_PATH)
ADMINPASS = config.get('c', 'ADMINPASS')
ADMINPASS = config.get('credentials', 'ADMINPASS')
@app.route('/', methods=['GET'])
def index():