https://github.com/zeit/micro/blob/master/errors/path-not-existent.md
const rateLimit = require("my-rate-limit");
module.exports = async (req, res) => {
try {
await rateLimit(req);
} catch (err) {
if (429 == err.statusCode) {
// perhaps send 500 instead?
send(res, 500);
}
}
};
https://zeit.co/docs/v2/serverless-functions/supported-languages#node.js-helpers
https://thecloud.christmas/2019/8
curl https://raw.githubusercontent.com/hwclass/buildless-site/master/README.md
curl https://raw.githubusercontent.com/hwclass/awesome-buildless/master/README.md | sed -n '/### Articles/,/### Tutorials/p'
HTMLCollection object collection is only iterable after applying Array.from
npm install -g npm@latest
<a href="..." target="_blank" rel="noopener" />
It is recommended to use the following header with zeit now to keep the content in sync with the remote resource while/after serving from the edge cache:
Cache-Control: s-maxage=1, stale-while-revalidate
Better waiting to get Inter font introduced to Google Fonts PR.
flex-grow: 0.1;
// import asset function from Fresh runtime
import { asset, Head } from "$fresh/runtime.ts";
// refer to the CSS file within <Head>...</Head>
<link rel="stylesheet" href={asset("style.css")} />;