mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-05-06 11:50:42 -05:00
Update to 0.7.0-unstable4
This commit is contained in:
@@ -67,9 +67,9 @@ function ShowcasesItem({ isDark, item }) {
|
||||
overflow: 'hidden',
|
||||
}}></p>
|
||||
<Stack direction="row" spacing={2} justifyContent="flex-start">
|
||||
<Button className="CheckButton" color="primary" variant="contained">
|
||||
Install
|
||||
</Button>
|
||||
<div>
|
||||
<DockerComposeImport installerInit defaultName={item.name} dockerComposeInit={item.compose} />
|
||||
</div>
|
||||
<Link to={"/cosmos-ui/market-listing/" + item.name} style={{
|
||||
textDecoration: 'none',
|
||||
}}>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.7.0-unstable3",
|
||||
"version": "0.7.0-unstable4",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
||||
@@ -304,6 +304,11 @@ func StartServer() {
|
||||
|
||||
router.PathPrefix("/cosmos-ui").Handler(http.StripPrefix("/cosmos-ui", fs))
|
||||
|
||||
// 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."))
|
||||
})
|
||||
|
||||
router = proxy.BuildFromConfig(router, HTTPConfig.ProxyConfig)
|
||||
|
||||
router.HandleFunc("/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user