mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Integrates tunwg (WireGuard tunnel) to enable optional public access to the hapi server. Tunnel is disabled by default and enabled via --relay flag or HAPI_TUNNEL=true environment variable. Users can now run 'hapi server --relay' and get a direct link like: https://app.hapi.run/?server=https://xxx.relay.hapi.run&token=xxx
6 lines
78 B
TypeScript
6 lines
78 B
TypeScript
#!/usr/bin/env bun
|
|
|
|
import { runCli } from './commands/runCli'
|
|
|
|
void runCli()
|