summaryrefslogtreecommitdiff
path: root/examples/ssr/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26Fix examples smoke test fail (#8923)Gravatar Bjorn Lu 1-7/+10
2023-10-24Update [id].ts - Fixing typo (#8902)Gravatar Ganesh Guttikonda 1-1/+1
2023-09-04[ci] formatGravatar bluwy 1-3/+5
2023-09-04Update examples & uppercase endpoints & fix response (#8391)Gravatar 李瑞丰 3-18/+10
Co-authored-by: liruifeng <liruifeng@troila.com>
2023-08-08fix: update examples to use the new API of cookies (#7899)Gravatar Emanuele Stoppa 1-1/+1
2022-11-08[ci] formatGravatar Princesseuh 3-25/+31
2022-10-18[ci] formatGravatar matthewp 1-7/+4
2022-10-18adding cookies to api route response [simple result] (#5060)Gravatar Daniel 8-25/+66
* 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 4-5/+12
* 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-10-05Remove early return from SSR example (#4993)Gravatar Matthew Phillips 1-2/+0
2022-09-26add double check on astro file return type to display more human readable ↵Gravatar Steven Yung 1-0/+2
error (#4857)
2022-09-23update SSR example to match recent change on Astro API Context (#4854)Gravatar Steven Yung 2-4/+6
2022-09-03examples: Blog template changes (#4577)Gravatar Daren Chandisingh 3-3/+3
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2022-08-06[ci] formatGravatar FredKSchott 8-26/+26
2022-08-05Move types to a .d.ts file inside examples projects (#4171)Gravatar Erika 1-0/+1
* Move types to a .d.ts file to avoid making types explicit * Rename to proper types * Move to proper place * Add noEmit to tsconfig.json * Add back removed code by accident
2022-07-08Format astro files in examples (#3862)Gravatar Marcus Otterström 8-150/+157
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 5-18/+19
2022-03-29[ci] formatGravatar matthewp 5-13/+9
2022-03-29Make it deployable to Netlify (#2931)Gravatar Matthew Phillips 7-1/+112
2022-03-29Implement the Astro.request RFC (#2913)Gravatar Matthew Phillips 1-1/+1
* Implement the Astro.request RFC * Disable console warnings eslint * Use our logger * Adds a changeset * Fix tests that depend on params, canonicalURL, URL Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-17Allow SSR dynamic routes to not implement getStaticPaths (#2815)Gravatar Matthew Phillips 1-10/+1
* Allow SSR dynamic routes to not implement getStaticPaths * Adds a changeset * Update based on code-review comments
2022-03-16[ci] formatGravatar matthewp 3-11/+9
2022-03-16Implements redirects, headers for SSR (#2798)Gravatar Matthew Phillips 9-9/+174
* 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 2-7/+5
2022-02-14Flagged SSR support (#2548)Gravatar Matthew Phillips 10-0/+327
* 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