Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query params are not available for express apps. #557

Closed
raksiv opened this issue Jan 22, 2024 · 1 comment
Closed

Query params are not available for express apps. #557

raksiv opened this issue Jan 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@raksiv
Copy link
Member

raksiv commented Jan 22, 2024

Using the following sample code

import express from "express";
import { http } from "@nitric/sdk";

const app = express();

app.get("/test/", async (req, res) => {
  console.log(req.query);
});

http(app, () => {
  console.log(`Application started`);
});

Accessing https://localhost:4001?state=test does not send query params through

@raksiv raksiv added the bug Something isn't working label Jan 22, 2024
@HomelessDinosaur HomelessDinosaur self-assigned this Jan 22, 2024
@jyecusch jyecusch assigned raksiv and unassigned HomelessDinosaur Sep 24, 2024
@raksiv
Copy link
Member Author

raksiv commented Sep 24, 2024

Tested - has been resolved.

@raksiv raksiv closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants