Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$250] Clean up gulp config #219

Closed
Closed
@jmgasper

Description

@jmgasper

@afrisalyp - This line of code is causing some problems with the production CI deployment because the env variable isn't set when Gulp runs, so it's always defaulting to dev

https://github.com/topcoder-platform/topcoder-x-ui/blob/5a75931b3a341d0c6e8d257b1d582d9eb2c9f587/gulp/ng-config.js#L13

As we dug into this further, we see that this influences what's chosen in src/front/config.json.

Is there any reason we need src/front/config.json at all? Can't we just read those values directly from the environmental variables?

I'd like to get this so that we don't use that config file at all, and that way we can avoid the deployment issues as well, thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions