Update to 0.7.0-unstable8

This commit is contained in:
Yann Stepienik 2023-06-13 23:51:43 +01:00
parent 320b0fbbb4
commit 02b1d50432
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.7.0-unstable7",
"version": "0.7.0-unstable8",
"description": "",
"main": "test-server.js",
"bugs": {

View file

@ -313,7 +313,7 @@ func StartServer() {
// temporary message to help people migrate version. DELETE IN NEXT VERSION
router.HandleFunc("/ui", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Please empty your browser's cache and reload the page. You are seeing this message because the UI was moved from /ui to /cosmos-ui, in order to fix compatibility with apps like OpenSense who also use /ui. The issue is that your browser still has the old UI URL cached. This message will disappear in the next version of Cosmos, to solve the compatibility issue. Sorry for the inconvenience."))
w.Write([]byte("You are seeing this message because the UI was moved from /ui to /cosmos-ui, in order to fix compatibility with apps like OpenSense who also use /ui. The issue is that your browser still has the old UI URL cached. Please empty your browser's cache and reload the page. Also, make sure you don't have a bookmark with the /ui in the URL. This message will disappear in the next version of Cosmos, to solve the compatibility issue. Sorry for the inconvenience."))
})
router = proxy.BuildFromConfig(router, HTTPConfig.ProxyConfig)