Task #3138
Enable changing server name by making change in one place
Start date:
07/19/2023
Due date:
07/21/2023 (about 17 months late)
% Done:
100%
Estimated time:
1.00 h
Spent time:
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 Ayush Khandelwal over 1 year ago
- Due date set to 07/21/2023
- Assignee changed from Ayush Khandelwal to Ayanava Karmakar
- Estimated time set to 1.00 h
Updated by Ayush Khandelwal 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 Ayanava Karmakar over 1 year ago
- Status changed from In Progress to Resolved
- Assignee changed from Ayanava Karmakar to Ayush Khandelwal
- % Done changed from 50 to 100
Updated by Ayanava Karmakar 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 Ayanava Karmakar over 1 year ago
- Status changed from Review to Reopened
- Assignee changed from Ayush Khandelwal to Ayanava Karmakar
Updated by Ayanava Karmakar over 1 year ago
- Status changed from Resolved to Review
- Assignee changed from Ayanava Karmakar to Ayush Khandelwal