-
I use polka in my sapper app.
In `server.js` I have something like
```
polka()
.use(function(req, res, next){
console.log(`~> Received ${req.method} on ${req.url}`);
…
-
** Affected version **
"@polka/send-type": "0.5.2",
"polka": "0.5.2"
**Steps to reproduce:**
1. Start polka webserver:
```
const polka = require('polka');
const send = require('@polka/send-…
-
(Just putting this somewhere so I remember.)
This is one type of best practice. For example, I use this as a `config.js` file, which I can then load anywhere.
```
const dotenv = require('dotenv…
-
Hi
every time i try to send this comes up **balances.transferKeepAlive** could you please tell what it is and how to fix it
please help
-
I want to log the processing-elapsed-time and response body.
Is there have something like a after-response-hook?
-
By default the node adaptor should compress responses, right now it does not. Compared to sapper this is a regression.
-
I am trying to sort out what is causing the error. Here is the error from the Build Logs:
```
12:52:57.034 | ┌──────────────────────────────┐
-- | --
12:52:57.035 | │ built server with 2 warning…
-
To replicate: clone the repo, convert to TS and replace polka with Express.
Error detail follows:
![CleanShot 2021-01-28 at 16 47 11](https://user-images.githubusercontent.com/329184/106162515-7…
-
How do you add a 404 page? I'm really sorry if I'm missing something obvious.
flauc updated
3 years ago
-
Just out of curiosity, what are the maintainers plan with tinyhttp regarding features and/or performance when comparing to Polka?
Thanks!