This PR moves the conditions that determine whether or not Cobalt should start hosting the API or the web client into external constants to improve code quality.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/imputnet/cobalt/pull/149
**Author:** [@plusreed](https://github.com/plusreed)
**Created:** 7/2/2023
**Status:** ✅ Merged
**Merged:** 7/14/2023
**Merged by:** [@wukko](https://github.com/wukko)
**Base:** `current` ← **Head:** `extract-startup-conditions`
---
### 📝 Commits (1)
- [`31aeae2`](https://github.com/imputnet/cobalt/commit/31aeae2655d9e26a9b20b224caa1163025bf1689) Extract startup conditions to consts
### 📊 Changes
**1 file changed** (+5 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `src/cobalt.js` (+5 -2)
</details>
### 📄 Description
This PR moves the conditions that determine whether or not Cobalt should start hosting the API or the web client into external constants to improve code quality.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/149
Author: @plusreed
Created: 7/2/2023
Status: ✅ Merged
Merged: 7/14/2023
Merged by: @wukko
Base:
current← Head:extract-startup-conditions📝 Commits (1)
31aeae2Extract startup conditions to consts📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
src/cobalt.js(+5 -2)📄 Description
This PR moves the conditions that determine whether or not Cobalt should start hosting the API or the web client into external constants to improve code quality.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.