01 2024 档案

摘要:#视频资源地址 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 开水泡可乐 阅读(115) 评论(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 开水泡可乐 阅读(837) 评论(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 开水泡可乐 阅读(26) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示