diff options
author | 2023-02-27 19:07:13 +0100 | |
---|---|---|
committer | 2023-02-27 12:07:13 -0600 | |
commit | 95164bfdd2c1cbe5f1fafeab9e998ee4c85df3e3 (patch) | |
tree | fb5801e11db21cc87b9319b6b03453fbd046cceb /benchmark/make-project/_util.js | |
parent | ff2e4dac7b556117ad308ce32618cdb15c381a9b (diff) | |
download | astro-95164bfdd2c1cbe5f1fafeab9e998ee4c85df3e3.tar.gz astro-95164bfdd2c1cbe5f1fafeab9e998ee4c85df3e3.tar.zst astro-95164bfdd2c1cbe5f1fafeab9e998ee4c85df3e3.zip |
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>
Diffstat (limited to 'benchmark/make-project/_util.js')
0 files changed, 0 insertions, 0 deletions