Skip to content

Ktor Server Playground Default Route #1181

@sangeetds

Description

@sangeetds

Hello!

I was using the graphql-kotlin-spring-server with Ktor. I saw in the ktor example that the default route for the playground was being handled manually, and a custom HTML page was being returned. But I observed that the spring server had few default routes already pre-configured. I wanted to ask whether there are simpler ways to generate the default routes in Ktor. Do I need to manually handle default endpoints? If yes, I would like to know if there's some documentation from where I can get more info about setting them up.

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