Skip to content

Commit

Permalink
chore: vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Mar 9, 2024
1 parent 2690ce7 commit f0e4afa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/cli/commands/vercel-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ export async function build() {

ensureDirSync('./.vercel/output')
ensureDirSync('./.vercel/output/static')

if (pathExistsSync('./public'))
copySync('./public', './.vercel/output/static')

ensureDirSync('./.vercel/output/static/static')
copySync(
'./node_modules/frog/_lib/dev/static',
'./.vercel/output/static/static',
)

writeJsonSync('./.vercel/output/config.json', {
version: 3,
routes: [
Expand Down
1 change: 0 additions & 1 deletion src/dev/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export function routes<
if (text.includes(ngrokHostname))
text = text.replace(ngrokHttpRegex, 'https$2')

console.log({ text })
const metadata = htmlToMetadata(text)
const { context, frame } = metadata

Expand Down

0 comments on commit f0e4afa

Please sign in to comment.