mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* feat: add node-vite-custom-caddyfile example - Include a Vite-based SPA template with a custom Caddyfile configuration. - Add test definitions to verify custom Caddyfile request handling and SPA navigation. Generated-by: aiautocommit * test: add snapshot for custom caddyfile support Generated-by: aiautocommit
22 lines
382 B
JSON
22 lines
382 B
JSON
[
|
|
{
|
|
"expectedOutput": "using config from file"
|
|
},
|
|
{
|
|
"httpCheck": {
|
|
"internalPort": 80,
|
|
"path": "/",
|
|
"expected": 200,
|
|
"expectedOutput": "Railpack Node SPA"
|
|
}
|
|
},
|
|
{
|
|
"httpCheck": {
|
|
"internalPort": 80,
|
|
"path": "/custom-caddy-response",
|
|
"expected": 200,
|
|
"expectedOutput": "hello-from-custom-caddyfile"
|
|
}
|
|
}
|
|
]
|