mirror of
https://github.com/tinyauthapp/tinyauth.git
synced 2026-08-24 05:43:32 +08:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e878516130 | ||
|
|
e5f1df03c4 | ||
|
|
c77da30d87 |
+6
-2
@@ -51,6 +51,10 @@ EXPOSE 3000
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/tinyauth/tinyauth", "healthcheck"]
|
||||
ENV GIN_MODE=release
|
||||
|
||||
ENTRYPOINT ["/tinyauth/tinyauth"]
|
||||
ENV PATH=$PATH:/tinyauth
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["tinyauth", "healthcheck"]
|
||||
|
||||
ENTRYPOINT ["tinyauth"]
|
||||
@@ -51,6 +51,10 @@ EXPOSE 3000
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["/tinyauth/tinyauth", "healthcheck"]
|
||||
ENV GIN_MODE=release
|
||||
|
||||
ENTRYPOINT ["/tinyauth/tinyauth"]
|
||||
ENV PATH=$PATH:/tinyauth
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["tinyauth", "healthcheck"]
|
||||
|
||||
ENTRYPOINT ["tinyauth"]
|
||||
@@ -8,9 +8,7 @@ const BaseLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
const { backgroundImage, title } = useAppContext();
|
||||
|
||||
useEffect(() => {
|
||||
if (title !== "Tinyauth") {
|
||||
document.title = title + " - Tinyauth";
|
||||
}
|
||||
document.title = title;
|
||||
}, [title]);
|
||||
|
||||
return (
|
||||
|
||||
@@ -172,10 +172,6 @@ func (app *BootstrapApp) Setup() error {
|
||||
}
|
||||
|
||||
// Create engine
|
||||
if config.Version != "development" {
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
}
|
||||
|
||||
engine := gin.New()
|
||||
|
||||
if len(app.config.TrustedProxies) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user