Skip to content

Commit

Permalink
fix angular19 (#277)
Browse files Browse the repository at this point in the history
* fix angular19

* remove unused fields

* add comment
  • Loading branch information
Yuangwang authored Nov 22, 2024
1 parent 7fe9dad commit a139fe6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/@apphosting/adapter-angular/src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ export const buildManifestSchema = z.object({
server: z.optional(url),
browser: url,
}),
prerenderedRoutes: z.optional(z.string().array()),
// angular v18 has an array type and v19 has an object type
// We should uncomment this when we need to use prerenderedRoutes
// prerenderedRoutes: z.optional(z.union([z.string().array(), z.object({})])),
});

0 comments on commit a139fe6

Please sign in to comment.