CI updates #1

This commit is contained in:
Darren Clarke 2023-06-20 07:49:52 +00:00 committed by GitHub
parent 59ae833099
commit 5a343c7eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 707 additions and 652 deletions

View file

@ -0,0 +1,4 @@
import { GetServerSidePropsContext } from "next";
export const getEmbedded = (context: GetServerSidePropsContext) =>
context.req.headers["x-leafcutter-embedded"] === "true";