This commit is contained in:
soju6jan
2022-10-03 03:15:05 +09:00
parent 8a7a0338de
commit 5799484cf6
15 changed files with 84 additions and 66 deletions

View File

@@ -1,7 +1,8 @@
import re
from flask_login import current_user
from framework import F
def get_menu(full_query):
match = re.compile(r'\/(?P<menu>.*?)\/manual\/(?P<sub2>.*?)($|\?)').match(full_query)
if match:
@@ -19,7 +20,7 @@ def get_menu(full_query):
if match:
return match.group('menu'), None , None
return 'home', None, None
def get_theme():