Skip to content
Snippets Groups Projects
Unverified Commit 355a4954 authored by Max Adamo's avatar Max Adamo
Browse files

rename files

parent eb233e2e
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ func renderPage(w http.ResponseWriter, req *http.Request) {
// function redirect
func redirect(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/sorted_by_name.html", http.StatusMovedPermanently)
http.Redirect(w, r, "/by_name.html", http.StatusMovedPermanently)
}
func main() {
......@@ -87,11 +87,11 @@ Options:
listenPort := arguments["--listen-port"].(string)
baseURLs := [6]string{"/sectigo_ev", "/sectigo_ov", "/letsencrypt", "/sectigo_ev/", "/sectigo_ov/", "/letsencrypt/"}
otherURLs := [12]string{"/letsencrypt/sorted_by_name.html", "/letsencrypt/sorted_by_expiration.html",
otherURLs := [12]string{"/letsencrypt/by_name.html", "/letsencrypt/by_expiration.html",
"/letsencrypt/letsencrypt.json", "/letsencrypt/letsencrypt_expired.json",
"/sectigo_ov/sorted_by_name.html", "/sectigo_ov/sorted_by_expiration.html",
"/sectigo_ov/by_name.html", "/sectigo_ov/by_expiration.html",
"/sectigo_ov/sectigo_ov.json", "/sectigo_ov/sectigo_ov_expired.json",
"/sectigo_ev/sorted_by_name.html", "/sectigo_ev/sorted_by_expiration.html",
"/sectigo_ev/by_name.html", "/sectigo_ev/by_expiration.html",
"/sectigo_ev/sectigo_ev.json", "/sectigo_ev/sectigo_ev_expired.json"}
fs := http.FileServer(http.Dir("/var/www/acme_web/static"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment