CI updates #1
This commit is contained in:
parent
59ae833099
commit
5a343c7eb9
27 changed files with 707 additions and 652 deletions
4
apps/leafcutter/lib/utils.ts
Normal file
4
apps/leafcutter/lib/utils.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { GetServerSidePropsContext } from "next";
|
||||
|
||||
export const getEmbedded = (context: GetServerSidePropsContext) =>
|
||||
context.req.headers["x-leafcutter-embedded"] === "true";
|
||||
Loading…
Add table
Add a link
Reference in a new issue