Skip to content

Commit 6b18f7b

Browse files
committed
Fix test failures
1 parent 64b36e5 commit 6b18f7b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

03-fastapi/wrangler.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
name = "fastapi-worker"
1+
name = "fastapi-worker3"
22
main = "src/worker.py"
33
compatibility_flags = ["python_workers", "python_dedicated_snapshot"]
44
compatibility_date = "2025-10-09"
55

66
[vars]
77
MESSAGE = "My env var"
8+
9+
[observability]
10+
[observability.logs]
11+
enabled = true
12+
head_sampling_rate = 1
13+
invocation_logs = true
14+
persist = true

tests/test_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_06_assets(dev_server):
8282
("", "text/html"),
8383
("image.svg", "image/svg+xml"),
8484
("style.css", "text/css; charset=utf-8"),
85-
("script.js", "application/javascript"),
85+
("script.js", "text/javascript; charset=utf-8"),
8686
("favicon.ico", "image/vnd.microsoft.icon"),
8787
]
8888

0 commit comments

Comments
 (0)