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

Stub API not working with server:dist task #641

Open
jasalguero opened this issue Jun 10, 2014 · 0 comments
Open

Stub API not working with server:dist task #641

jasalguero opened this issue Jun 10, 2014 · 0 comments

Comments

@jasalguero
Copy link

API Stubbing is not working when starting the server with the dist task. The server is started but the api path serves the index.html file.

To reproduce:

  1. Download latest version
  2. Run npm install
  3. Run grunt server:dist
  4. Access http://localhost:8000/api/posts

Is this disabled on purpose? Is there any way through config variables to enable the API stub to test the packaged version with the stubbed API?

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