Skip to content

Create Frontend using NextJS + TailwindCSS #4

@dhruvilxcode

Description

@dhruvilxcode

to automatically send the http cookies from frontend to backend you first need to enable the CORS.
then in the axios use following options to enable it.

axios.get('api URL here', {
  withCredentials: true
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions