From 2938b832173a30f15a8122b7e0c975f64bbe5e1d Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 24 Aug 2023 14:06:53 +0200 Subject: [PATCH] grzejlh --- Flask/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flask/start.sh b/Flask/start.sh index e9fe637..ef29148 100644 --- a/Flask/start.sh +++ b/Flask/start.sh @@ -1,10 +1,10 @@ service grafana-server start service nginx start -curl -X "POST" "http://localhost:1234/grafana/api/datasources" \ +curl -X "POST" "http://192.168.1.32:5555/grafana/api/datasources" \ -H "Content-Type: application/json" \ --user admin:admin \ --data-raw $'{"id":1,"uid":"bed26262-6b98-4dfc-a95d-f8bd39b5d09c","orgId":1,"name":"SQLite","type":"frser-sqlite-datasource","typeName":"SQLite","typeLogoUrl":"public/plugins/frser-sqlite-datasource/img/logo.svg","access":"proxy","url":"","user":"","database":"","basicAuth":false,"isDefault":true,"jsonData":{"attachLimit":0,"path":"/app/MsRewards-Reborn/MsRewards.db","pathPefix":"file:"},"readOnly":false}' -curl 'http://localhost:1234/grafana/api/dashboards/import' \ +curl 'http://192.168.1.32:5555/grafana/api/dashboards/import' \ -H 'content-type: application/json' \ -H 'x-grafana-org-id: 1' \ --user admin:admin \