0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
Erika 95164bfdd2
Add a warning when using encoding in SSR and headers on objects in endpoints (#6358)
* fix(endpoints): Add a warning when trying to set encoding and headers in SSR

* fix(endpoint): Oops, it'd be great if it actually worked

* fix(endpoint): Fix import path

* fix(endpoint): Add link to docs

* Update packages/astro/src/core/endpoint/index.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* fix: don't output encoding warning if endpoint is pre-rendered

* Update packages/astro/src/core/endpoint/index.ts

* Update packages/astro/src/core/endpoint/index.ts

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-27 12:07:13 -06:00
..
astro Add a warning when using encoding in SSR and headers on objects in endpoints (#6358) 2023-02-27 12:07:13 -06:00
astro-prism [ci] release (#5948) 2023-01-24 11:38:06 -05:00
astro-rss [ci] release (#6269) 2023-02-17 14:48:21 +01:00
create-astro [ci] format 2023-02-27 16:11:41 +00:00
integrations [ci] release (#6359) 2023-02-27 08:55:42 -05:00
markdown [ci] release (#6359) 2023-02-27 08:55:42 -05:00
telemetry [ci] release (#6359) 2023-02-27 08:55:42 -05:00
webapi [ci] release (#6359) 2023-02-27 08:55:42 -05:00