Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Editing the app configuration file

Updated on September 21, 2022
Attention: Not applicable to the Web Components SDK.

Angular SDK

  1. In the SDK folder, go to src/app/, and open the app.module.ts with a text editor.
  2. Update the APP_BASE_HREF entry in providers such that the value of useValue is the same as the <base> href value in the index.html file: 
    { provide: APP_BASE_HREF, useValue: "/SDK-A/" } 
  3. Save and close the file.

React SDK

  1. In the SDK folder, go to src/samples/AppSelector, and open the index.tsx file with a text editor.
  2. Update the <Route> elements in the <Switch> component: 
    const baseURL = "/SDK-R/"; 
  3. Save and close the file.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us