Task #3138
Enable changing server name by making change in one place
Description
Today, to create extension that works with Dev or Prod, we have to change the server name in multiple places in 2 files.
Please change code so that we can make the change in one place instead.
Updated by Anonymous over 1 year ago
- Due date set to 07/21/2023
- Assignee changed from Anonymous to Anonymous
- Estimated time set to 1.00 h
Updated by Anonymous over 1 year ago
Place the domain name as a constant at one place & use that constant everywhere. Suppose in the current extension, every server url in the script file points to the QA server i.e. https://edutestqa.appspot.com
Let's make a constant for this at one place from we can manage and use it everywhere.
Updated by Anonymous over 1 year ago
- Status changed from In Progress to Resolved
- Assignee changed from Anonymous to Anonymous
- % Done changed from 50 to 100
Updated by Anonymous over 1 year ago
Review Point: create a new file called config.js, and declare the domain name there only, so that we can use that constant in other files too
Updated by Anonymous over 1 year ago
- Status changed from Review to Reopened
- Assignee changed from Anonymous to Anonymous
Updated by Anonymous over 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Anonymous to Anonymous