mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Bump Dependencies (#2332)
* Bump dependencies * Closes #2300 * Closes #2331
This commit is contained in:
@@ -138,7 +138,7 @@ def create_ctfd(
|
||||
config.APPLICATION_ROOT = application_root
|
||||
url = make_url(config.SQLALCHEMY_DATABASE_URI)
|
||||
if url.database:
|
||||
url.database = str(uuid.uuid4())
|
||||
url = url.set(database=str(uuid.uuid4()))
|
||||
config.SQLALCHEMY_DATABASE_URI = str(url)
|
||||
|
||||
app = create_app(config)
|
||||
|
||||
Reference in New Issue
Block a user