advweb-grp1 / advanced-web-final-year-project

Final year advanced web develop unit project
MIT License
1 stars 0 forks source link

fix: allow for dev env to change between dev and live collections #50

Closed rwx-yxu closed 1 year ago

rwx-yxu commented 1 year ago

This pull request will manually check for the dev env variable as a string to determine the collection names. This is because the variable has been treated as a boolean which will only satisfy the first condition.

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 7b98d03):

https://adv-web-grp1--pr50-core-dev-env-k361a3pa.web.app

(expires Fri, 28 Apr 2023 15:40:34 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e45f8bd17b7de44787580bea572e36aa09784b8c

advweb-grp1 commented 1 year ago

testing has confirmed that switching the actions env variable and rebuilding will switch the collections fire store.