made streamline further up the whitelabel list so it doesn't default to agriculture by accident

This commit is contained in:
Carter 2025-06-11 14:35:30 -06:00
parent 8a0c9491c8
commit af518b58a8
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ function App() {
const [token, setToken] = useState<string | undefined>(undefined)
const whiteLabel = getWhitelabel()
console.log("Whitelabel Name: "+whiteLabel.name)
const manifestPath = "/" + whiteLabel.name.replace(/\s/g, "") + "/manifest.json"
const manifestDocument = document.getElementById('manifest-link') as HTMLLinkElement
fetch(manifestPath).then(response => {

View file

@ -276,9 +276,9 @@ export function IsOmniAir(): boolean {
}
const whitelabels = new Map<string, WhiteLabel>([
["streamline", STREAMLINE_WHITE_LABEL],
["adaptiveag", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
["adaptiveagriculture", ADAPTIVE_AGRICULTURE_WHITE_LABEL],
["streamline", STREAMLINE_WHITE_LABEL],
["brandxducks", BXT_WHITE_LABEL],
["brandxtech", BXT_WHITE_LABEL],
["aerogrowmanufacturing", AEROGROW_WHITE_LABEL],