#!./run import { getLocalStorage } from "./src/main.ts"; import { startRestServer } from "./src/server.ts"; const PORT = 5001; if (import.meta.main) { await startRestServer(PORT, getLocalStorage("tk-storage-server")); console.log(`Server running, use http://localhost:${PORT} to connect`); }