mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:01:08 +08:00
Request ./stories.json
in manager
This commit is contained in:
parent
f552d6c850
commit
444bf9933a
@ -351,7 +351,7 @@ export const init: ModuleFn = ({
|
||||
},
|
||||
fetchStoryList: async () => {
|
||||
// This needs some fleshing out as part of the stories list server project
|
||||
const result = await global.fetch('/stories.json');
|
||||
const result = await global.fetch('./stories.json');
|
||||
const storyIndex = (await result.json()) as StoryIndex;
|
||||
|
||||
// We can only do this if the stories.json is a proper storyIndex
|
||||
|
Loading…
x
Reference in New Issue
Block a user