medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Allow CHT dev instances at other locations aside from localhost:5988 #14

Closed mrjones-plip closed 6 months ago

mrjones-plip commented 7 months ago

Right now if you're running npm run dev, we hard code your local CHT instance to localhost:5988 and force you to use http:

    if (NODE_ENV !== 'production') {
      domains.push({
        friendly: '$localhost',
        domain: "localhost:5988",
        useHttp: true,
      });
    }

We should enable devs to use other CHT URLs and protocols (ie https). This would enable folks to use things like docker helper if they want.