Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译后端源码报找不到前端页面所需的templates文件夹 #46

Open
guangzou opened this issue Oct 23, 2023 · 1 comment
Open

Comments

@guangzou
Copy link

执行编译源码时 GOOS=linux GOARCH=amd64 go build -ldflags "$ldflags" -o "result/trojan-linux-amd64" .
报错:
web/web.go:16:12: pattern templates/*: no matching files found,想问下这个静态文件是放在哪个位置了,在trojan-web这个项目中也没有看到这个templates这个文件夹,大佬能帮忙给下这个文件吗?

@Jrohy
Copy link
Owner

Jrohy commented Oct 29, 2023

自己创建下,再将编译的前端文件丢进去就行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants