summaryrefslogtreecommitdiff
path: root/examples/ssr/src/api.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18adding cookies to api route response [simple result] (#5060)Gravatar Daniel 1-0/+1
* adding cookies to the an api route response, also when returning a simple result * in dev server, convert a simple endpoint result into a response object Co-authored-by: AirBorne04 <unknown> Co-authored-by: AirBorne04 <> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-12Run astro check on all examples in CI (#5022)Gravatar Erika 1-1/+1
* Run astro check on all examples in CI * Output stderr * Build Astro before running checks * Making things faster + colors * Fix errors inside examples * Add congrats message * Revert unentional change to tsconfigs * Remove more unneeded changes
2022-04-02update prettier width (#2968)Gravatar Fred K. Schott 1-1/+5
2022-03-29[ci] formatGravatar matthewp 1-1/+1
2022-03-29Make the SSR example infer the origin (#2932)Gravatar Matthew Phillips 1-14/+15
2022-03-29Make it deployable to Netlify (#2931)Gravatar Matthew Phillips 1-1/+1
2022-03-16[ci] formatGravatar matthewp 1-6/+6
2022-03-16Implements redirects, headers for SSR (#2798)Gravatar Matthew Phillips 1-4/+47
* Implements redirects, headers for SSR * Move away from an explicit Request * Properly handle endpoint routes in the build * chore(lint): ESLint fix * Update based on review comments Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28Fix typo (#2674)Gravatar Robin Millette 1-1/+1
2022-02-14[ci] yarn formatGravatar matthewp 1-6/+4
2022-02-14Flagged SSR support (#2548)Gravatar Matthew Phillips 1-0/+35
* Checkpoint, basics are working * Add the `--experimental-ssr` flag * Adds the changeset * Fixes population of getStaticPaths results * Pass through the imported module * Route manifest test * Fix remaining tests * Fix remaining tests * Copy server assets over * Fix types * Allowing passing in the request to the Node version of App * Improve the example app * Gets CI to pass