mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
fix(www): canonicalize production routes
This commit is contained in:
@@ -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*",
|
||||
|
||||
Reference in New Issue
Block a user