added plausible

This commit is contained in:
anon 2022-07-12 10:26:30 -03:00
parent a286c73fa1
commit a51e98301c
4 changed files with 6 additions and 2 deletions

View file

@ -3,6 +3,8 @@
{% load static %}
<head>
<script defer data-domain="moneroj.net" src="https://plausible.io/js/plausible.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

View file

@ -2,6 +2,8 @@
<html lang="en">
{% load static %}
<head>
<script defer data-domain="moneroj.net" src="https://plausible.io/js/plausible.js"></script>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

View file

@ -434,7 +434,7 @@ def get_latest_price():
with open("settings.json") as file:
data = json.load(file)
url = data["metrics_provider"][0]["price_url"]
url = data["metrics_provider"][0]["price_url_old"]
parameters = {
'convert':'USD',
}

View file

@ -29,7 +29,7 @@ STATICFILES_DIRS = [
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = ''
SECRET_KEY = 'dafsdasdfasfa7sdfs9d7das7f9as7df8ad77saf9df79as79s'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True