使用tomcat作为 微信小游戏的远程资源服务器(本地版)

tomcat 目录
conf/server.xml

E:\ccResource目录中放入 构建后的 res 文件夹

构建时 远程服务器地址为 http://192.168.x.x:8080/res/

tomcat搭建文件服务器 转自
https://blog.csdn.net/yyhjifeng/article/details/78357914

资源服务器直接用cdn啦。

只是要本地测试,所以用了tomcat

不错,mark一个

http://nginx.org/en/download.html
也可以下载个nginx 不用配置路径,直接把res放到html文件夹,构建路径 写http://192.168.x.x就好,在nginx目录下打开cmd窗口执行.\nginx ok了

1赞