forked from 77media/video-flow
路由处理
This commit is contained in:
parent
69be9677fe
commit
c658c987ea
@ -1,5 +1,8 @@
|
|||||||
import { NextRequest, NextResponse } from 'next/server';
|
import { NextRequest, NextResponse } from 'next/server';
|
||||||
|
|
||||||
|
// Prevent static rendering of this route
|
||||||
|
export const dynamic = 'force-dynamic';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle Google OAuth callback
|
* Handle Google OAuth callback
|
||||||
* In a real app, this would:
|
* In a real app, this would:
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
// Mock Google OAuth configuration
|
// Mock Google OAuth configuration
|
||||||
const GOOGLE_CLIENT_ID = 'your-google-client-id';
|
const GOOGLE_CLIENT_ID = '1016208801816-qtvcvki2jobmcin1g4e7u4sotr0p8g3u.apps.googleusercontent.com';
|
||||||
const GOOGLE_REDIRECT_URI = typeof window !== 'undefined'
|
const GOOGLE_REDIRECT_URI = typeof window !== 'undefined'
|
||||||
? `${window.location.origin}/api/auth/google/callback`
|
? `${window.location.origin}/api/auth/google/callback`
|
||||||
: '';
|
: '';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
output: 'export',
|
|
||||||
eslint: {
|
eslint: {
|
||||||
ignoreDuringBuilds: true,
|
ignoreDuringBuilds: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user