mirror of
https://github.com/videoman/proxmark3-web.git
synced 2025-01-14 03:09:20 +08:00
updating with secret key
This commit is contained in:
parent
0d77afb722
commit
e8ce3159ec
1 changed files with 6 additions and 5 deletions
|
@ -10,9 +10,10 @@ from flask import Flask, flash, redirect, render_template, \
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
debug=0
|
debug=0
|
||||||
proxmark3_rdv4_dir='/home/pi/proxmark3'
|
|
||||||
|
proxmark3_rdv4_dir='../proxmark3'
|
||||||
proxmark3_rdv4_client=proxmark3_rdv4_dir + '/client/proxmark3'
|
proxmark3_rdv4_client=proxmark3_rdv4_dir + '/client/proxmark3'
|
||||||
logfile = "/home/pi/card-reads.log"
|
logfile = "../card-reads.log"
|
||||||
# Setup a dictionary for the serial port types
|
# Setup a dictionary for the serial port types
|
||||||
serial_port_list = { '/dev/tty.usbmodemiceman1', '/dev/ttyACM0' }
|
serial_port_list = { '/dev/tty.usbmodemiceman1', '/dev/ttyACM0' }
|
||||||
|
|
||||||
|
@ -58,10 +59,10 @@ if(True):
|
||||||
|
|
||||||
# create and configure the app
|
# create and configure the app
|
||||||
# app = Flask(__name__, instance_relative_config=True)
|
# app = Flask(__name__, instance_relative_config=True)
|
||||||
# app.config.from_mapping(
|
app.config.from_mapping(
|
||||||
# SECRET_KEY='abc123',
|
SECRET_KEY='djjslekrjgi348gj38fd225u8g',
|
||||||
# DATABASE=os.path.join(app.instance_path, 'flaskr.sqlite'),
|
# DATABASE=os.path.join(app.instance_path, 'flaskr.sqlite'),
|
||||||
# )
|
)
|
||||||
|
|
||||||
# if test_config is None:
|
# if test_config is None:
|
||||||
# # load the instance config, if it exists, when not testing
|
# # load the instance config, if it exists, when not testing
|
||||||
|
|
Loading…
Reference in a new issue