Skip to content

Commit 2b74152

Browse files
committed
set APP_SECRET during web-ui run.sh helper script
1 parent 7ac8971 commit 2b74152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/web-ui/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22

3+
RANDOM_STRING=$(echo -n $(date +%s%N) | sha256sum | head -c 20)
34
. venv/bin/activate
4-
flask run --debug
5+
SECRET_KEY=$RANDOM_STRING flask run --debug

0 commit comments

Comments
 (0)