@package-broker/main 0.10.11 → 0.10.12
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/package.json +1 -1
- package/wrangler.example.toml +7 -0
package/package.json
CHANGED
package/wrangler.example.toml
CHANGED
|
@@ -6,6 +6,13 @@ main = "packages/main/src/index.ts"
|
|
|
6
6
|
compatibility_date = "2024-09-23"
|
|
7
7
|
compatibility_flags = ["nodejs_compat"]
|
|
8
8
|
|
|
9
|
+
# Static Assets (UI)
|
|
10
|
+
# not_found_handling enables SPA routing - returns index.html for unmatched routes
|
|
11
|
+
[assets]
|
|
12
|
+
directory = "node_modules/@package-broker/ui/dist"
|
|
13
|
+
binding = "ASSETS"
|
|
14
|
+
not_found_handling = "single-page-application"
|
|
15
|
+
|
|
9
16
|
[vars]
|
|
10
17
|
# Generate with: openssl rand -base64 32
|
|
11
18
|
ENCRYPTION_KEY = "REPLACE_WITH_YOUR_32_BYTE_KEY_BASE64"
|