convert wetty from submodule to normal directory

This commit is contained in:
douboer@gmail.com
2026-03-03 16:07:18 +08:00
parent 1db76701a6
commit 0d185d2b3c
131 changed files with 15543 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
import serve from 'serve-static';
import { assetsPath } from './shared/path.js';
export const trim = (str: string): string => str.replace(/\/*$/, '');
export const serveStatic = (path: string) => serve(assetsPath(path));