Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔为之
elp
Commits
2f6009fa
Commit
2f6009fa
authored
Nov 11, 2023
by
崔为之
💪🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project
parent
4349e634
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
application/__init__.py
application/__init__.py
+1
-1
application/common/config.py
application/common/config.py
+1
-1
No files found.
application/__init__.py
View file @
2f6009fa
...
...
@@ -39,7 +39,7 @@ def create_app() -> Flask:
init_plugs
(
app
)
# Set universal config
config
.
U
niversal
=
app
.
config
config
.
u
niversal
=
app
.
config
# Register the routes that this application will respond to.
# This includes both the route URLs and the handlers for each route.
...
...
application/common/config.py
View file @
2f6009fa
...
...
@@ -15,7 +15,7 @@
class
Config
:
"""Configuration for the application."""
def
__init__
(
self
):
self
.
U
niversal
=
None
self
.
u
niversal
=
None
# This creates a global instance of the Config class
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment