Skip to content

Commit

Permalink
fix: define entrypoint in wrangler.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
whilefoo committed Jan 7, 2024
1 parent b39aa1f commit 6cbd708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"format:lint": "eslint --fix .",
"format:prettier": "prettier --write .",
"prepare": "husky install",
"deploy": "wrangler deploy src/worker.ts",
"dev": "wrangler dev --port 8787 src/worker.ts",
"deploy": "wrangler deploy",
"dev": "wrangler dev --port 8787",
"proxy": "tsx src/proxy.ts"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "ubiquibot-worker"
main = "src/cloudflare-worker/index.ts"
main = "src/worker.ts"
compatibility_date = "2023-12-06"

# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
Expand Down

0 comments on commit 6cbd708

Please sign in to comment.