From 144f60b5b373bbf2480d5e0ef2d926fbf4141cd0 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Fri, 19 Jan 2024 15:36:21 -0500 Subject: [PATCH] feat(angular-universal-versl): include json files 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. --- angular-universal-vercel/vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular-universal-vercel/vercel.json b/angular-universal-vercel/vercel.json index 5ec8398..df536c9 100644 --- a/angular-universal-vercel/vercel.json +++ b/angular-universal-vercel/vercel.json @@ -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/node@1.8.5" } },