Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
shadowban-eu-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
shadowban-eu-backend
Commits
f5415618
Commit
f5415618
authored
Dec 07, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
acb3ca49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+2
-0
backend.py
backend.py
+2
-2
No files found.
README.md
View file @
f5415618
## Shadowban.eu Backend made to run on Heroku
Pull
```
git clone https://github.com/shadowban-eu/shadowban-eu-backend && cd shadowban-eu-backend
...
...
backend.py
View file @
f5415618
...
...
@@ -567,11 +567,11 @@ parser.add_argument('--mongo-port', type=int, default=27017, help='port of mongo
parser
.
add_argument
(
'--mongo-db'
,
type
=
str
,
default
=
'tester'
,
help
=
'name of mongo database to use'
)
parser
.
add_argument
(
'--mongo-username'
,
type
=
str
,
default
=
''
,
help
=
'name of user in mongo database'
)
parser
.
add_argument
(
'--mongo-password'
,
type
=
str
,
default
=
''
,
help
=
'password for user in mongo database'
)
parser
.
add_argument
(
'--twitter-auth-key'
,
type
=
str
,
default
=
None
,
help
=
'auth key for twitter guest session'
,
required
=
Tru
e
)
parser
.
add_argument
(
'--twitter-auth-key'
,
type
=
str
,
default
=
None
,
help
=
'auth key for twitter guest session'
,
required
=
Fals
e
)
parser
.
add_argument
(
'--cors-allow'
,
type
=
str
,
default
=
None
,
help
=
'value for Access-Control-Allow-Origin header'
)
args
,
unknown
=
parser
.
parse_known_args
()
TwitterSession
.
twitter_auth_key
=
args
.
twitter_auth_key
TwitterSession
.
twitter_auth_key
=
TWITTER_AUTH_KEY
if
(
args
.
cors_allow
is
None
):
debug
(
'[CORS] Running without CORS headers'
)
...
...
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