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 d945d3a
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: ['storioes', 'src', 'template-stories', 'node_modules', ...(config.server?.fs?.allow || [])],
},
},
})`;
Expand Down

0 comments on commit d945d3a

Please sign in to comment.