Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
url_shorter_docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
url_shorter_docker
Commits
64f4c3ca
Commit
64f4c3ca
authored
5 years ago
by
Jonas Leder
Browse files
Options
Downloads
Patches
Plain Diff
documentation
parent
2d352e49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.py
+3
-0
3 additions, 0 deletions
main.py
with
3 additions
and
0 deletions
main.py
+
3
−
0
View file @
64f4c3ca
#!/usr/bin/env python3
#Import os Libraries
from
waitress
import
serve
#Used as webserver (Production)
from
flask
import
Flask
,
request
,
redirect
,
make_response
#Used to prepare the dynamic pages
from
os
import
environ
#Used for getting the enviorement variables
from
itsdangerous
import
URLSafeSerializer
#used for signing the cookies
from
random
import
choice
#used for signing the cookies
from
string
import
ascii_lowercase
#used for signing the cookies
#Import of shorter specific files
from
table_check
import
table_check
#import the table check file
from
makeqr
import
makeQR
#Qr code generation tool
from
grecaptcha_verify
import
grecaptcha_verify
#Tool to verify the google recaptcha response
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment