mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	des ptit problèmes par ci par la
This commit is contained in:
		@@ -51,7 +51,7 @@
 | 
			
		||||
{%if not current_user.is_authenticated %}
 | 
			
		||||
    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
			
		||||
{% else %}
 | 
			
		||||
    <iframe src="/novnc/vnc_lite.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe>
 | 
			
		||||
    <iframe src="/novnc/vnc.html?resize=scale&path=novnc/websockify&view_only" width="100%" height="100%" frameborder="0"></iframe>
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
{%endblock %}
 | 
			
		||||
@@ -62,8 +62,3 @@ grafana-cli plugins install frser-sqlite-datasource
 | 
			
		||||
printf  "setting up default dashboard"
 | 
			
		||||
cp /app/MsRewards-Reborn/config/Stats-dashbord.json /usr/share/grafana/public/dashboards/home.json 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
websockify -D \
 | 
			
		||||
    --web /usr/share/novnc/ \
 | 
			
		||||
    6080 \
 | 
			
		||||
    localhost:2345
 | 
			
		||||
@@ -12,3 +12,8 @@ curl 'http://localhost:1234/grafana/api/dashboards/import' \
 | 
			
		||||
  --compressed \
 | 
			
		||||
  --insecure
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
websockify -D \
 | 
			
		||||
    --web /usr/share/novnc/ \
 | 
			
		||||
    6080 \
 | 
			
		||||
    localhost:2345
 | 
			
		||||
		Reference in New Issue
	
	Block a user