Skip to content

Commit 3aa93ea

Browse files
authored
Update __init__.py
1 parent 42c767f commit 3aa93ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from flask import Flask, render_template_string, render_template, jsonify
33
from flask import render_template
44
from flask import json
5+
from flask import send_from_directory
56
from urllib.request import urlopen
67
import sqlite3
78

@@ -78,4 +79,4 @@ def dée():
7879

7980
@app.route('/outils')
8081
def outils():
81-
return render_template('Outils_JS.html')
82+
return send_from_directory('static', 'Outils_JS.html')

0 commit comments

Comments
 (0)