Skip to content

Commit

Permalink
import added
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkiBytes committed Dec 3, 2024
1 parent 1c27db4 commit e12148a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
""" SmartAPI Entry Point """

import logging
from os.path import exists

from threading import Thread

Expand All @@ -20,7 +21,7 @@ def run_routine():

class WebAppHandler(RequestHandler):
def get(self):
if os.path.exists("../web-app/dist/index.html"):
if exists("../web-app/dist/index.html"):
self.render("../web-app/dist/index.html")


Expand Down

0 comments on commit e12148a

Please sign in to comment.