Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nokit-filter-proxy

nokitjs120MIT0.1.0

nokit-filter-proxy

nokit, nokitjs, filter, proxy

readme

示例一:

{
  "filters": {
    "^/": "nokit-filter-proxy"
  },
  "proxy": {
    "rules": {
      "^/jser": "https://jser.cc"
    }
  }
}

示例二:

不保留 URL 中的 /jser 前缀

{
  "filters": {
    "^/": "nokit-filter-proxy"
  },
  "proxy": {
    "rules": {
      "^/jser(.*)": "https://jser.cc"
    }
  }
}