Skip to content

Commit

Permalink
solidui api build
Browse files Browse the repository at this point in the history
  • Loading branch information
dlimeng committed Dec 30, 2023
1 parent 43f682e commit 8ca9c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions solidui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@
FAB_API_SWAGGER_UI = True
FAB_API_SWAGGER = True
# The SQLAlchemy connection string.
# SQLALCHEMY_DATABASE_URI = (f"""sqlite:///{os.path.join(DATA_DIR, "solidui.db")}?check_same_thread=false""")

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://username:password@host:port/dbname'
SQLALCHEMY_DATABASE_URI = (f"""sqlite:///{os.path.join(DATA_DIR, "solidui.db")}?check_same_thread=false""")

#SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://username:password@host:port/dbname'


# SQLALCHEMY_CUSTOM_PASSWORD_STORE = lookup_password
Expand Down
1 change: 0 additions & 1 deletion solidui/initialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def configure_session(self) -> None:
def init_app_in_ctx(self) -> None:

self.configure_fab()
self.configure_cors()

if flask_app_mutator := self.config["FLASK_APP_MUTATOR"]:
flask_app_mutator(self.solidui_app)
Expand Down

0 comments on commit 8ca9c4c

Please sign in to comment.