final final final
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-11-29 02:05:44 +01:00
parent c18dbb8d06
commit 2e31e99aae
2 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
import logging
import musicbrainzngs
from flask import Flask
from flask_restful import Api
@ -12,7 +11,7 @@ from healthcheck import HealthCheck
from flaskaddons.marshm import ma
from flaskaddons.fred import flaskred
from utils.config import SENTRY_DSN, RELEASEMODE, RELEASE_ID, PORT, DEBUG, REDIS_URL, ALLOWED_ORIGINS
from utils.config import SENTRY_DSN, RELEASEMODE, RELEASE_ID, REDIS_URL, ALLOWED_ORIGINS
from utils import register_all_error_handlers, redis_available
from resources import LoginApi, ListsApi, MeApi, SingleListApi, ItemApi

View File

@ -5,15 +5,11 @@ import os
Configuration
"""
__author__ = "@tormakris"
__copyright__ = "Copyright 2020, onSpot Team"
__module_name__ = "config"
__version__text__ = "1"
PORT = os.environ.get("ONSPOT_PORT", 8080)
DEBUG = os.environ.get("ONSPOT_DEBUG", True)
ALLOWED_ORIGINS = os.environ.get('ALLOWED_ORIGINS', '*')
SENTRY_DSN = os.environ.get("SENTRY_DSN")