van-nav icon indicating copy to clipboard operation
van-nav copied to clipboard

项目启动之后404

Open 276397082 opened this issue 2 years ago • 2 comments

我下载了源码,在vscode里面用go run all运行之后,无法访问,控制台提示404,只有http://localhost:6412/api可以访问,我是想把主页右下角那两个黑色的按钮删掉,页面上已经改了,用go build打包之后访问,也是提示404,文档啥时候出呀

276397082 avatar May 13 '23 09:05 276397082

打包错了,参考 dockerfile 里面的打包,你需要逐步构建前端,然后复制静态资源最后才能 go build

Mereithhh avatar May 13 '23 09:05 Mereithhh

项目是全栈项目,只跑后端是不行的,有空我完善一下开发指南吧。现在代码也很屎,得重构了。

Mereithhh avatar Jun 27 '23 11:06 Mereithhh