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