-
Notifications
You must be signed in to change notification settings - Fork 657
Description
As title says.
In:
http://docs.deployd.com/docs/getting-started/your-first-api.html
In the section explaining how to use the javascript console commands, errors occur if you invoke dpd at http://localhost:2403 (but it works if you invoke at http://localhost:2403/dashboard
Context
It's a minor issue, but since it's in getting started documentation I feel it should be fixed. It's probably a very easy documentation fix
Expected Behavior
It works
Actual Behavior
VM1191:1 Uncaught ReferenceError: dpd is not defined
at :1:1
Possible Fix
I think it's just a documentation fix - fix it so the docs say to go to /dashboard
Steps to Reproduce
- Open http://localhost:2403/ in Chrome
- View->Developer->Javascript console
- dpd.things.get(console.log);
- Get the following error:
VM1191:1 Uncaught ReferenceError: dpd is not defined
at :1:1
- Repeat at http://localhost:2403/dashboard no error
Context
Not a huge amount, was just a little hiccup in going through the "getting started" guide
Your Environment
- Deployd Version (
deployd -V): 2.0.2 <--- also note that this template has a spelling error. It should bedpd -V - Node version (
node -v): v6.9.4 - Operating System and version: macOS 10.12.6