(key: string, value: string | undefined)
| 51 | } |
| 52 | |
| 53 | function restoreEnv(key: string, value: string | undefined) { |
| 54 | if (value === undefined) { |
| 55 | delete process.env[key] |
| 56 | return |
| 57 | } |
| 58 | process.env[key] = value |
| 59 | } |
| 60 | |
| 61 | function app(input?: { password?: string; username?: string }) { |
| 62 | const handler = HttpRouter.toWebHandler( |