There was an error while loading. Please reload this page.
1 parent 626b46e commit a0d6b59Copy full SHA for a0d6b59
1 file changed
.github/workflows/release-ota.yml
@@ -63,6 +63,10 @@ jobs:
63
mkdir -p site/flash site/crowmotion
64
cp flasher/index.html site/index.html
65
66
+ # CORS: let the flasher embedded on crowpilot.in fetch the
67
+ # manifest and images cross-origin (Cloudflare Pages _headers).
68
+ printf '/flash/*\n Access-Control-Allow-Origin: *\n' > site/_headers
69
+
70
# Complete flash images for the browser flasher (offset 0).
71
esptool.py --chip esp32c3 merge_bin \
72
-o site/flash/crowmotion-merged.bin \
0 commit comments