Skip to content

Commit bd53cf0

Browse files
committed
Test for jinja2
1 parent 596c4cd commit bd53cf0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

app/static/js/wallet/state.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ let rp_requestUriMethod = "get";
99
let rp_state = "";
1010

1111
// --- COSTANTI DI SESSIONE E CONFIGURAZIONI ---
12-
const SESSION_ID = "{{ session_id }}";
13-
const INIT_ERROR_MESSAGE = "{{ init_error_message|escape }}";
12+
//const SESSION_ID = "{{ session_id }}";
13+
//const INIT_ERROR_MESSAGE = "{{ init_error_message|escape }}";
1414

1515
// --- RIFERIMENTI DOM: ICONE E POPUP GENERALI ---
1616
const memoryIcon = document.querySelector(".memory-icon");

app/templates/wallet_home.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,9 @@
9494
<script src="{{ url_for('static', filename='js/wallet/credentials.js') }}"></script>
9595
<script src="{{ url_for('static', filename='js/wallet/lifecycle.js') }}"></script>
9696
<script src="{{ url_for('static', filename='js/wallet/components.js') }}"></script>
97+
<script>
98+
const SESSION_ID = "{{ session_id }}";
99+
const INIT_ERROR_MESSAGE = "{{ init_error_message|escape }}";
100+
</script>
97101
</body>
98102
</html>

0 commit comments

Comments
 (0)