standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
196 stars 9 forks source link

App fails to start on *BSD #1893

Closed ghost closed 3 years ago

ghost commented 3 years ago

Tried accessing app.standardnotes.org from an OpenBSD machine today and got a plain white screen.

The javascript console gives this error:

Uncaught (in promise) Error: Platform must be supplied when creating an application.

It looks like this might be the fault of getPlatformString not handling the case of navigator.platform not containing either mac, win, or linux. For instance, navigator.platform returns "OpenBSD amd64" for me.

arielsvg commented 3 years ago

Good catch, thanks for the report! This fix will be in the next version.

ghost commented 3 years ago

Thank you for the quick fix!