Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Change environment programatically after deploy, possible?

$
0
0

@SanduCuragau wrote:

Heys guys I was thinking of this situation, I have 2 environments, production and development, on each environment I have a different database connection, so let’s say I deploy the app with --prod then it’s gonna use the prod environment and database, but lets say in the app an admin wanted to swap to development mode and use the dev database, could I change the environment used to the dev one so that the connection would change ? Kinda messy but I think you guys get the point.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>