Skip to content

Commit

Permalink
fix: Add flag in config/schema to disable spa mode (#1716)
Browse files Browse the repository at this point in the history
* fix: Add flag in config/schema to disable spa mode

* Create real-badgers-destroy.md
  • Loading branch information
m-hosoi authored Aug 20, 2024
1 parent c64d1b4 commit 73cfd57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/real-badgers-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farmfe/core": patch
---

fix: Add flag in config/schema to disable spa mode
1 change: 1 addition & 0 deletions packages/core/src/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ const FarmConfigSchema = z
open: z.boolean().optional(),
https: z.custom<SecureServerOptions>(),
cors: z.boolean().optional(),
spa: z.boolean().optional(),
proxy: z
.record(
z
Expand Down

0 comments on commit 73cfd57

Please sign in to comment.