摘要:
#视频资源地址 location /video/ { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS'; add_header Access-C 阅读全文
posted @ 2024-01-23 16:22
开水泡可乐
阅读(147)
评论(0)
推荐(0)
摘要:
Nextjs版本:14.0.3 修改next.config.js文件 /** @type {import('next').NextConfig} / const nextConfig = { /* @description 开发模式下请求代理设置 / async rewrites() { retur 阅读全文
posted @ 2024-01-23 16:21
开水泡可乐
阅读(1014)
评论(0)
推荐(0)
摘要:
location /api/ { add_header 'Access-Control-Allow-Origin' $http_origin; add_header 'Access-Control-Allow-Credentials' 'true'; add_header 'Access-Contr 阅读全文
posted @ 2024-01-23 16:11
开水泡可乐
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号