def static(path): return swinf.send_file(path, root=static_dir)
def style(path): return swinf.send_file(path, root=os.path.join(static_dir, 'style'))
def script(path): return swinf.send_file(path, root=os.path.join(static_dir, 'script'))
def files(path): return swinf.send_file(path, root=os.path.join(static_dir, 'files'))