Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Server doesn't serve static files (404) #1425

Closed
korywka opened this issue May 23, 2018 · 1 comment
Closed

Dev Server doesn't serve static files (404) #1425

korywka opened this issue May 23, 2018 · 1 comment

Comments

@korywka
Copy link

korywka commented May 23, 2018

🙋 feature request

Serve static files for XMLHttpRequest

🤔 Expected Behavior

axios.get('/file.json')

😯 Current Behavior

404

💁 Possible Solution

response with file.json

🔦 Context

Mocking API requests for dev purpose

@korywka
Copy link
Author

korywka commented May 23, 2018

It serves, just from dist directory. Not root, as webpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant