コード例 #1
0
ファイル: default_handlers.py プロジェクト: swinf/Swinf
def static(path):
    return swinf.send_file(path, root=static_dir)
コード例 #2
0
ファイル: default_handlers.py プロジェクト: swinf/Swinf
def style(path):
    return swinf.send_file(path, root=os.path.join(static_dir, 'style'))
コード例 #3
0
ファイル: default_handlers.py プロジェクト: swinf/Swinf
def script(path):
    return swinf.send_file(path, root=os.path.join(static_dir, 'script'))
コード例 #4
0
ファイル: default_handlers.py プロジェクト: swinf/Swinf
def files(path):
    return swinf.send_file(path, root=os.path.join(static_dir, 'files'))