update cloudflare worker
Browse files- .gitignore +2 -1
- 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 |
-
|
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"
|
|
|
|