Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
For a while, when running locally we always used 0.0.0. This meant that we could not run the upgrade/downgrade system locally, and this was changed recently to use the latest version coming from the local lerna.json value.
This is now causing serving the client locally, as the server expects 0.0.0 to return the local client.
These changes are adding a +local flag to the prerelease locally, and we are serving the build one if this flag is found. We also return the local build if the version is 0.0.0 for backwards compatibility.
These checks also allow us to import production apps (or manually removing the +local tag) and to run with older versions locally.
Description
For a while, when running locally we always used 0.0.0. This meant that we could not run the upgrade/downgrade system locally, and this was changed recently to use the latest version coming from the local
lerna.json
value. This is now causing serving the client locally, as the server expects 0.0.0 to return the local client.These changes are adding a
+local
flag to the prerelease locally, and we are serving the build one if this flag is found. We also return the local build if the version is 0.0.0 for backwards compatibility. These checks also allow us to import production apps (or manually removing the+local
tag) and to run with older versions locally.