Skip to content

Commit

Permalink
Allow stories folder to be served by vite sandboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Feb 9, 2023
1 parent 34b4920 commit 5fbb76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tasks/sandbox-parts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function setSandboxViteFinal(mainConfig: ConfigFile) {
...config.server,
fs: {
...config.server?.fs,
allow: ['src', 'template-stories', 'node_modules', ...(config.server?.fs?.allow || [])],
allow: ['stories', 'src', 'template-stories', 'node_modules', ...(config.server?.fs?.allow || [])],
},
},
})`;
Expand Down

0 comments on commit 5fbb76b

Please sign in to comment.