tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

issues with play routes vs. ng-router #46

Closed xuloo closed 10 years ago

xuloo commented 10 years ago

having a problem getting play-yeoman to play nice.

i have my routes set up as per the demo - with my json routes under /api and everything else under /ui.

However when i try to call /api/fixtures (a valid route) directly in the browser i get the message

cannot GET /api/fixtures

if i disable the plugin and comment out the routes all is well. Can you tell me how i can get this working? is there something obvious i should be checking?

One thing i've noticed is if the play application runs on 127.0.0.1:9000 and i call the /api/fixtures url using the localhost domain it works...

milliondreams commented 10 years ago

Can you upload a sample app to demo this issue to github somewhere and give the steps to reproduce the issue, we will look into this.

milliondreams commented 10 years ago

Could not reproduce in testing.