There is blog post of April 20, 2015 titled "Using your own PC as a test machine for Valence apps". Inside the post, there is section named "Post-Install Setup". In there, a script is provided (file named server.js), part of which is a set of statements to route Valence calls through proxy.
app.all('/valence/*', valenceProxy); app.all('/portal/*', valenceProxy); app.all('/resources/*', valenceProxy); app.all('/build/*', valenceProxy); app.all('/desktop/*', valenceProxy); app.all('/extjs5/*', valenceProxy);
Unless I am mistaken, those represent web configuration aliases. I am not sure about the /extjs5 thing because there is no such alias even in my Valence 4 installation. Anyway, I figure that for my Valence 5 installation I would need the following statements in my server.js file based on the web configuration aliases for Valence 5 instance.
app.all('/valence/*', valenceProxy); app.all('/portal/*', valenceProxy); app.all('/resources/*', valenceProxy); app.all('/vvresources/*', valenceProxy); app.all('/service/*', valenceProxy); app.all('/desktop/*', valenceProxy); app.all('/extjs/*', valenceProxy);
Am I correct?
Thanks
Alex
app.all('/valence/*', valenceProxy); app.all('/portal/*', valenceProxy); app.all('/resources/*', valenceProxy); app.all('/build/*', valenceProxy); app.all('/desktop/*', valenceProxy); app.all('/extjs5/*', valenceProxy);
Unless I am mistaken, those represent web configuration aliases. I am not sure about the /extjs5 thing because there is no such alias even in my Valence 4 installation. Anyway, I figure that for my Valence 5 installation I would need the following statements in my server.js file based on the web configuration aliases for Valence 5 instance.
app.all('/valence/*', valenceProxy); app.all('/portal/*', valenceProxy); app.all('/resources/*', valenceProxy); app.all('/vvresources/*', valenceProxy); app.all('/service/*', valenceProxy); app.all('/desktop/*', valenceProxy); app.all('/extjs/*', valenceProxy);
Am I correct?
Thanks
Alex
Comment