Added images for getting started page
This commit is contained in:
@@ -729,7 +729,7 @@ func handleRegister(resp http.ResponseWriter, request *http.Request) {
|
||||
if err != nil {
|
||||
if (countErr == nil && count > 0) || countErr != nil {
|
||||
resp.WriteHeader(401)
|
||||
resp.Write([]byte(`{"success": false, "reason": "Can't register without being admin"}`))
|
||||
resp.Write([]byte(`{"success": false, "reason": "Users already exist. Please go to /login to log into your admin user."}`))
|
||||
return
|
||||
}
|
||||
}
|
||||
@@ -6120,6 +6120,7 @@ func initHandlers() {
|
||||
r.HandleFunc("/api/v1/orgs/{orgId}/validate_app_values", shuffle.HandleKeyValueCheck).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/orgs/{orgId}/get_cache", shuffle.HandleGetCacheKey).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/orgs/{orgId}/set_cache", shuffle.HandleSetCacheKey).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/orgs/{orgId}/stats", shuffle.HandleGetStatistics).Methods("GET", "OPTIONS")
|
||||
r.HandleFunc("/api/v1/apps/{key}/execute", executeSingleAction).Methods("POST", "OPTIONS")
|
||||
|
||||
// Docker orborus specific - downloads an image
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ services:
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
opensearch:
|
||||
image: opensearchproject/opensearch:2.3.0
|
||||
image: opensearchproject/opensearch:2.4.0
|
||||
hostname: shuffle-opensearch
|
||||
container_name: shuffle-opensearch
|
||||
environment:
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
@@ -6,6 +6,7 @@ docker rm shuffle-frontend
|
||||
echo "Running build for website"
|
||||
#sudo npm run build
|
||||
docker build . -t ghcr.io/frikky/shuffle-frontend:nightly
|
||||
docker tag ghcr.io/frikky/shuffle-frontend:nightly ghcr.io/shuffle/shuffle-frontend:nightly
|
||||
|
||||
echo "Starting server"
|
||||
# Rerun build locally for it to update :)
|
||||
|
||||
@@ -180,6 +180,8 @@ const Header = (props) => {
|
||||
org_id: orgId,
|
||||
};
|
||||
|
||||
localStorage.setItem("getting_started_sidebar", "open");
|
||||
|
||||
fetch(`${globalUrl}/api/v1/orgs/${orgId}/change`, {
|
||||
mode: "cors",
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user