Browse Source

Modify where the static path is

Getty Ritter 1 year ago
parent
commit
29893ace26
9 changed files with 1 additions and 1 deletions
  1. 1 1
      lc/config.py
  2. 0 0
      static/jquery-3.5.0.min.js
  3. 0 0
      static/lc.js
  4. 0 0
      static/lc_128.png
  5. 0 0
      static/lc_16.png
  6. 0 0
      static/lc_32.png
  7. 0 0
      static/lc_64.png
  8. 0 0
      static/leaguespartan-bold.ttf
  9. 0 0
      static/main.css

+ 1 - 1
lc/config.py

@@ -9,7 +9,7 @@ db = playhouse.sqlite_ext.SqliteExtDatabase(None)
 per_page = 50
 serializer = itsdangerous.URLSafeTimedSerializer(os.getenv("SECRET_KEY", "TEMP KEY"))
 app_path = os.environ["APP_PATH"].strip()
-app = flask.Flask(__name__)
+app = flask.Flask(__name__, static_folder=os.path.join(os.getcwd(), 'static'))
 app.secret_key = os.getenv("SECRET_KEY", "ARGLBARGL")
 
 if sys.stderr.isatty():

lc/static/jquery-3.5.0.min.js → static/jquery-3.5.0.min.js


lc/static/lc.js → static/lc.js


lc/static/lc_128.png → static/lc_128.png


lc/static/lc_16.png → static/lc_16.png


lc/static/lc_32.png → static/lc_32.png


lc/static/lc_64.png → static/lc_64.png


lc/static/leaguespartan-bold.ttf → static/leaguespartan-bold.ttf


lc/static/main.css → static/main.css