Skip to content

Commit

Permalink
dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikFehrenbach committed Jul 9, 2023
1 parent c5cabc0 commit ede07ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ flask
flask_executor
pymongo
tldextract
apscheduler
apscheduler
python-dotenv
5 changes: 0 additions & 5 deletions routes/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
from .index import get_subdomains

app = create_app()

# Create a Blueprint instance
API_KEY = ""
BASE_URL = "https://api.securitytrails.com/v1"

main = Blueprint('main', __name__)

ALLOWED_EXTENSIONS = {'txt'}
Expand Down
3 changes: 2 additions & 1 deletion routes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import requests
import logging
from models import Domain
import os

API_KEY = ""
API_KEY = os.getenv("SECURITYTRAILS")
BASE_URL = "https://api.securitytrails.com/v1"

def get_subdomains(domain):
Expand Down

0 comments on commit ede07ee

Please sign in to comment.