We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2827b7a commit 87b4255Copy full SHA for 87b4255
commands/utils/dom.js
@@ -54,7 +54,7 @@ async function sendDoM(storybookUrl, stories, storybookConfig, options) {
54
const form = new formData();
55
for (const [storyId, storyInfo] of Object.entries(stories)) {
56
const file = fs.readFileSync('doms/' + storyId + '.html');
57
- form.append('files', file, storyInfo.kind + ': ' + storyInfo.name + '.html');
+ form.append('files', file, {filepath: storyInfo.kind + ': ' + storyInfo.name + '.html'});
58
}
59
form.append('resolution', storybookConfig.resolutions);
60
form.append('browser', storybookConfig.browsers);
0 commit comments