about.go 397 B

12345678910111213141516
  1. package routes
  2. import (
  3. "codeberg.org/vnpower/pixivfe/v2/config"
  4. "net/http"
  5. )
  6. func AboutPage(w http.ResponseWriter, r *http.Request) error {
  7. return Render(w, r, Data_about{
  8. Time: config.GlobalConfig.StartingTime,
  9. Version: config.GlobalConfig.Version,
  10. ImageProxy: config.GlobalConfig.ProxyServer.String(),
  11. AcceptLanguage: config.GlobalConfig.AcceptLanguage,
  12. })
  13. }