服务端用的是Koa,所以直接用 @koa/cors ,文档:@koa/cors - npm 。 ... $scheme; } server { listen 443 ssl http2; server_name api.lifeni.life; ...
確定! 回上一頁