mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-05-04 04:11:20 +00:00
refactor: consolidate imports in supabase API routes
change over to cloudflare.
This commit is contained in:
parent
687b03ba74
commit
95dcd0261a
@ -1,5 +1,4 @@
|
||||
import { json } from '@remix-run/node';
|
||||
import type { ActionFunction } from '@remix-run/node';
|
||||
import { json, type ActionFunction } from '@remix-run/cloudflare';
|
||||
import type { SupabaseProject } from '~/types/supabase';
|
||||
|
||||
export const action: ActionFunction = async ({ request }) => {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { json } from '@remix-run/node';
|
||||
import type { ActionFunctionArgs } from '@remix-run/node';
|
||||
import { json, type ActionFunctionArgs } from '@remix-run/node';
|
||||
|
||||
export async function action({ request }: ActionFunctionArgs) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user