The privacy details that you may need to add for Apple Privacy Manifest.
This config plugin it's already available from expo >=50.0.17 (Part of this PR by aleqsio)
Tip
Read more about Privacy Manifest File from Apple docs
The privacy details that you may need to add for Apple Privacy Manifest.
This config plugin it's already available from expo >=50.0.17 (Part of this PR by aleqsio)
Tip
Read more about Privacy Manifest File from Apple docs
// Express middleware to disable Gatsby window.replaceState() to | |
// avoid changing new rewritten URLs back to original URLs | |
// https://github.com/gatsbyjs/gatsby/blob/c91ed287fd319a345c2f27877e20656826767e92/packages/gatsby/cache-dir/production-app.js#L159-L187 | |
const appJsFilePath = existingGatsbyFiles.find((filePath) => | |
/^\/app-[\da-f]+\.js$/.test(filePath), | |
)!; | |
const appJsContent = readFileSync( | |
join(websitePath, 'public', appJsFilePath), | |
'utf-8', |
# syntax = docker/dockerfile:1 | |
# Adjust BUN_VERSION as desired | |
ARG BUN_VERSION=1.1.1 | |
FROM oven/bun:${BUN_VERSION}-slim as base | |
LABEL fly_launch_runtime="Next.js" | |
# Next.js app lives here | |
WORKDIR /app |
import { AwsClient } from "aws4fetch"; | |
import { deflate } from "pako"; | |
const R2_ACCOUNT_ID = "SOMETHING" | |
const R2_ACCESS_KEY_ID = "SOMETHING" | |
const R2_SECRET_ACCESS_KEY ="SOMETHING" | |
const R2_BUCKET = "SOMETHING" | |
const R2_URL = `https://${R2_BUCKET}.${R2_ACCOUNT_ID}.r2.cloudflarestorage.com`; |
// guests+api.ts | |
import { ExpoRequest, ExpoResponse } from 'expo-router/server'; | |
import { guestList, Guest } from './index+api.ts'; | |
export const guestList: Guest[] = []; | |
export function GET(request: ExpoRequest): ExpoResponse { | |
return ExpoResponse.json(guestList); | |
} |
.unreset { | |
a { | |
@apply text-blue-700 underline; | |
} | |
p { | |
@apply my-4; | |
} | |
blockquote, | |
figure { |
# First, remove all the folders in the npx cache location | |
# https://github.com/npm/cli/issues/1935#issuecomment-745561262 | |
rm -rf $(npm get cache)/_npx/* |
# Git Aliases (sorted alphabetically with some inculsive functions) | |
# Adapted from oh-my-zsh git alias plugin. "compdef" is a Z shell autocompletion function, disabled throughout where applicable. | |
alias g='git' | |
alias ga='git add' | |
alias gaa='git add --all' | |
alias gapa='git add --patch' | |
alias gb='git branch' |
// From the comment from @SukkaW here: | |
// https://github.com/vercel/next.js/pull/60616#issuecomment-1902608289 | |
// Here is what I am doing currently, to authenticate and authorize | |
// RSC pages and components (like a button or a tooltip) | |
function GuardedComponent() { | |
const user = useUser(); | |
// guard() will throw a `NoPermissionError` when the user doesn't have the permission | |
guard(user, permissionList); |