Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
minor
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
Packages & Registries
Packages & Registries
Container 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
Christian Knuchel
minor
Commits
4c55958c
Commit
4c55958c
authored
Jan 18, 2019
by
Fence
🌈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add wsgi
parent
facb197d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
minor.wsgi
minor.wsgi
+4
-0
minor/app.py
minor/app.py
+3
-1
No files found.
minor.wsgi
0 → 100644
View file @
4c55958c
from minor import App
app = App()
application = app.get_application()
\ No newline at end of file
minor/app.py
View file @
4c55958c
from
flask
import
Flask
from
flask_mongoengine
import
MongoEngine
from
minor.controller
import
ApiController
,
MusicController
...
...
@@ -19,3 +18,6 @@ class App(object):
def
check_key
(
self
,
key
):
return
key
==
"sekrit1234"
def
get_application
(
self
):
return
self
.
_flask
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