Skip updating instances, with optional env variable#318
Skip updating instances, with optional env variable#318e-lisa wants to merge 1 commit intoMathMan05:mainfrom
Conversation
skip updating the instance JSON in favor of what is already in `dist/webpage/instances.json`
|
Heya, two things: |
|
Also if you do wish for a set varriable to mean something other than it's active, I'd change this line const skipinstances = (process.env.SKIP_INSTANCE_UPDATE || false) === '1';to something more like const skipinstances = process.env.SKIP_INSTANCE_UPDATE === '1';There's no need to make it false there. (also the nullish coalescing operator would be preferred in most cases |
|
Also, unrelated to this pull request, this functionality might be worth stripping from Fermi at all given that that list is at the very least on the cusp of being deprecated, and with statically hosted instances not using it, |
|
You can maybe pull the instances and their details from the Explorer |
|
prob not, it's maintained outside of spacebar/fermi and whatnot |
|
(plus keeping a better list has been an idea for me for a while, as well a a whole client logic thing, if a fork happens, I'll very likely start that up or something) |
Description
Skip updating the instance JSON in favor of what is already in
dist/webpage/instances.jsonThis is useful for instances that run standalone, and do not want to be part of the spacebar-instance selection