Skip to content

Commit 8ccf673

Browse files
committed
.
1 parent 7bbeab4 commit 8ccf673

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

app/config.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
class Config(object):
3+
"""
4+
Configuration base, for all environments.
5+
"""
6+
DEBUG = True
7+
DATABASE_URI = 'sqlite:///application.db'
8+
SECRET_KEY = "LKHSDNIOUTY&*(^87bdasdasdasv6*&BGSUYDS"
9+
CSRF_ENABLED = True
10+
SQLALCHEMY_TRACK_MODIFICATIONS = True
11+
12+
PORT = 8080
13+
HOST = '0.0.0.0'
14+
URL = 'http://localhost/'
15+
16+
17+
class ProductionConfig(Config):
18+
DATABASE_URI = 'mysql://user@localhost/foo'
19+
20+
21+
class DevelopmentConfig(Config):
22+
DEBUG = True
23+
SQLALCHEMY_DATABASE_URI = 'sqlite:///application.db'

app/preflight.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
"window",
33
"window.document",
44
"var temp = {\"availHeight\" : window.screen.availHeight,\"availLeft\" : window.screen.availLeft,\"availTop\" : window.screen.availTop, \"availWidth\" : window.screen.availWidth, \"colorDepth\": window.screen.colorDepth, \"height\" : window.screen.height, \"orientation\" : window.screen.orientation, \"ScreenOrientation\" : window.screen.ScreenOrientation, \"pixelDepth\" : window.screen.pixelDepth, \"width\" : window.screen.width};temp",
5-
"var temp = [];for(var i=0;i<navigator.plugins.length;i++){ temp.push(navigator.plugins[i].name) };temp"
5+
"var temp = [];for(var i=0;i<navigator.plugins.length;i++){ temp.push(navigator.plugins[i].name) };temp",
6+
"window.chrome",
7+
"window.chrome.runtime"
68
]

dump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b '{"app":{"isInstalled":false},"webstore":{"onInstallStageChanged":{},"onDownloadProgress":{}}}'

0 commit comments

Comments
 (0)