Skip to content

Commit

Permalink
feat(angular-universal-versl): include json files
Browse files Browse the repository at this point in the history
Previously, json files were available to the serverless renderer.

Since it's fairly common to have static json documents included as
part of frontend builds, we've elected to make these available so
that server-side renderers can access these through the filesystem
instead of via self-refrencing http requests.
  • Loading branch information
damienwebdev committed Jan 19, 2024
1 parent b309c1e commit 144f60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular-universal-vercel/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"public": true,
"functions": {
"api/serverless.js": {
"includeFiles": "{server/*.js,browser/{*.html,*.css}}",
"includeFiles": "{server/*.js,browser/{*.html,*.css},browser/**/*.json}",
"runtime": "@vercel/[email protected]"
}
},
Expand Down

0 comments on commit 144f60b

Please sign in to comment.