Open johnfelipe opened 7 years ago
credentials: {
// Replace placeholder below by the Consumer Key and Consumer Secret you got from
// http://developer.autodesk.com/ for the production server
client_id: process.env.FORGE_CLIENT_ID || 'cccc',
client_secret: process.env.FORGE_CLIENT_SECRET || 'vvvvv',
grant_type: 'client_credentials',
scope: 'viewables:read', // Setup the needed scopes for authorizing your Token
callbackUrl: process.env.CALLBACK_URL || ''
},
callbackUrl: process.env.CALLBACK_URL || ''
i can put that void?
I'm updating this sample to use latest version of the viewer. Give me a couple of minutes ok.
updated to version 3.2, check that you are passing in the correct URN's to the viewer.
This is my steps:
show me this
I put Y
Compiled successfully!
The app is running at:
http://localhost:3003/
Note that the development build is not optimized. To create a production build, use npm run build.
If i put app.set('port', (process.env.PORT || 3002));
Why run in 3003?
An run 3002 to, but with errors:
In console show me this: