Try to fix docs
This commit is contained in:
parent
54780c8359
commit
0f32c85c7c
@ -15,7 +15,7 @@ def create_app():
|
||||
load_dotenv()
|
||||
|
||||
# Create Flask app load app.config
|
||||
application = APIFlask(__name__, docs_path='/api/docs')
|
||||
application = APIFlask(__name__, openapi_blueprint_url_prefix='api/')
|
||||
application.config.from_object("config.ConfigClass")
|
||||
|
||||
CORS(application, resource={
|
||||
|
@ -23,7 +23,6 @@ class ConfigClass(object):
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False # Avoids SQLAlchemy warning
|
||||
|
||||
# openapi/Swagger config
|
||||
LOCAL_SPEC_PATH = 'docs/openapi.json'
|
||||
SERVERS = [
|
||||
{
|
||||
"name": "Production",
|
||||
|
Loading…
Reference in New Issue
Block a user