Migrate to wrangler2

This commit is contained in:
ciiiii
2023-03-05 23:23:40 +08:00
parent 854b6cd022
commit 433eb86b4d
2 changed files with 2 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ jobs:
node-version: "12.x"
- run: npm install
- name: Publish
uses: cloudflare/wrangler-action@1.2.0
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
env:

View File

@@ -1,15 +1,7 @@
name = "cloudflare-docker-proxy"
type = "webpack"
account_id = ""
workers_dev = true
route = ""
zone_id = ""
webpack_config = "webpack.config.js"
compatibility_date = "2021-12-07"
[dev]
ip = "0.0.0.0"
port = 8787
@@ -23,5 +15,5 @@ TARGET_UPSTREAM=""
[env.dev.vars]
MODE="debug"
LOCAL_ADDRESS="http://192.168.50.160:8787"
LOCAL_ADDRESS="http://192.168.10.102:8787"
TARGET_UPSTREAM="https://registry-1.docker.io"