valid JavaScript API Domain with pow serving a .dev/ local domain

2 posts / 0 new
Last post
Olivier Melcher's picture
Joined: 2012-05-23
Jun 8, 2012
valid JavaScript API Domain with pow serving a .dev/ local domain

The error Uncaught Error: You must specify a valid JavaScript API Domain as part of this key's configuration. is thrown when serving an app locally under an http://appname.dev/ domain (served with pow: http://pow.cx/). How to fix this?

Jeremy Johnstone's picture
Joined: 2011-04-17
Jun 8, 2012

The domain showed in the browser window also needs to be added to the API key you create. You can list multiple domains, all comma separated.

-Jeremy