فهرست منبع

fix(www): canonicalize production routes

Dax Raad 3 هفته پیش
والد
کامیت
28f4284bd7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/www/wrangler.jsonc

+ 2 - 2
packages/www/wrangler.jsonc

@@ -7,7 +7,7 @@
   "assets": {
     "binding": "ASSETS",
     "directory": "./dist/client",
-    "html_handling": "auto-trailing-slash",
+    "html_handling": "drop-trailing-slash",
     "not_found_handling": "404-page"
   },
   "env": {
@@ -21,7 +21,7 @@
       ]
     },
     "production": {
-      "name": "opencode-www",
+      "name": "opencode-www-production",
       "routes": [
         {
           "pattern": "opencode.ai/v2*",