ttp-agent-sdk 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_headers +17 -0
- package/dist/agent-widget.js.map +1 -1
- package/dist/index.html +460 -21
- package/dist/script.js +1 -0
- package/dist/styles.css +1123 -0
- package/package.json +2 -2
package/dist/_headers
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Cloudflare Pages Headers Configuration
|
|
2
|
+
# This file configures HTTP headers for all files served via Cloudflare Pages
|
|
3
|
+
|
|
4
|
+
# CORS headers for audio-processor.js (required for AudioWorklet)
|
|
5
|
+
# AudioWorklet requires CORS headers to load from CDN
|
|
6
|
+
/audio-processor.js
|
|
7
|
+
Access-Control-Allow-Origin: *
|
|
8
|
+
Access-Control-Allow-Methods: GET, OPTIONS
|
|
9
|
+
Access-Control-Allow-Headers: Content-Type
|
|
10
|
+
Content-Type: application/javascript
|
|
11
|
+
|
|
12
|
+
# CORS headers for all JavaScript files (optional but recommended)
|
|
13
|
+
/*.js
|
|
14
|
+
Access-Control-Allow-Origin: *
|
|
15
|
+
Access-Control-Allow-Methods: GET, OPTIONS
|
|
16
|
+
Access-Control-Allow-Headers: Content-Type
|
|
17
|
+
|