yym68686 commited on
Commit
8e650e8
·
1 Parent(s): 9b32db2

update cloudflare worker

Browse files
Files changed (2) hide show
  1. .gitignore +2 -1
  2. wrangler.toml +2 -4
.gitignore CHANGED
@@ -2,4 +2,5 @@ api.json
2
  api.yaml
3
  .env
4
  __pycache__
5
- .vscode
 
 
2
  api.yaml
3
  .env
4
  __pycache__
5
+ .vscode
6
+ node_modules
wrangler.toml CHANGED
@@ -1,6 +1,4 @@
1
  name = "uni-api"
2
  main = "main.py"
3
- compatibility_date = "2024-03-31"
4
-
5
- [build]
6
- command = "pip install -r requirements.txt"
 
1
  name = "uni-api"
2
  main = "main.py"
3
+ compatibility_flags = ["python_workers"]
4
+ compatibility_date = "2024-03-31"