Skip to content

[BUG] serving the api under a subdirectory #79

@saleemalharir1

Description

@saleemalharir1

main.py
needs to have

app = FastAPI(
    root_path="/subdirectoryi",
    title=swagger_settings.swagger_title,
    description = swagger_settings.swagger_description,
    version=swagger_settings.swagger_version,
)

i suggest to add it commented out and with explination next to it and update the documents to reflect this
thanks to @Andreufb he is the one who walked me through this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions