Skip to content

Commit 190c335

Browse files
committed
comment
1 parent 51fc103 commit 190c335

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

site/.storybook/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default {
1717
},
1818

1919
async viteFinal(config) {
20+
// Storybook seems to strip this setting out of our Vite config. We need to
21+
// put it back in order to be able to access Storybook with Coder Desktop or
22+
// port sharing.
2023
config.server = {
2124
...config.server,
2225
allowedHosts: [".coder", ".dev.coder.com"],

0 commit comments

Comments
 (0)