(ctx)
| 31 | }; |
| 32 | |
| 33 | const getSubPath = (ctx) => { |
| 34 | const subPath = ctx.req.path.replace(/\/[^/]*/, '') || '/'; |
| 35 | return subPath; |
| 36 | }; |
| 37 | |
| 38 | const getLocalhostAddress = () => { |
| 39 | const interfaces = os.networkInterfaces(); |
no outgoing calls
no test coverage detected