Skip to content

Use API_VERSION in JSONServer rewriter #121

@pfwd

Description

@pfwd

Todo

  • In api-client/src/server.ts replace v1 from rewriter paths with process.env.API_VERSION

Current setup

server.use(jsonServer.rewriter({ '/api/v1/': '/$1', '/api/v1/quiz/:slug': '/quiz?slug=:slug' })) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    api clientAny thing to do with the API ClientenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions