docs/web/senior-static-server #49
Replies: 4 comments 3 replies
-
如何控制只有登录的用户才可以访问静态文件服务? |
Beta Was this translation helpful? Give feedback.
1 reply
-
要是能给个demo就好了
…---Original---
From: "John ***@***.***>
Date: Tue, Nov 12, 2024 20:19 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [gogf/gf-site] docs/web/senior-static-server (Discussion #49)
可以考虑使用basic auth,或者自定义hook来控制。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
希望后面能兼容支持 fs.FS 就好了,现在挺常用 embed.FS 的,一些项目我还挺喜欢用 embed.FS 打包进去 vue build 好的文件,一个二进制直接部署。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
静态文件能支持gzip么 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docs/web/senior-static-server
了解如何在GoFrame框架中配置和使用静态文件服务,包括静态文件目录设置、静态文件服务开启条件、URI与静态目录映射、自定义URI重写规则及跨域配置示例,帮助开发者有效管理和优化项目中的静态资源访问。
https://goframe.org/docs/web/senior-static-server
Beta Was this translation helpful? Give feedback.
All reactions