ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

proxy.ts 210 B

1234567891011121314
  1. function getProxy () {
  2. return process.env.HTTPS_PROXY ||
  3. process.env.HTTP_PROXY ||
  4. undefined
  5. }
  6. function isProxyEnabled () {
  7. return !!getProxy()
  8. }
  9. export {
  10. getProxy,
  11. isProxyEnabled
  12. }