OpenResty反代
in 捣鼓电脑 with 0 comment
OpenResty反代
in 捣鼓电脑 with 0 comment

用OpenResty搭建YesPlayMusic,由于跨域需要反代API到/api,在前端匹配路径里输入/api,进行反代会出错,需要输入/api/,然后把后端代理地址的最后也加上/就行了Snipaste_2025-01-18_09-38-12.jpg

Responses