aboutsummaryrefslogtreecommitdiff
path: root/http_error_page.go
blob: aabc9bd5c90bfc86923eca0baa6bb561e7dcf9d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13

// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>

package main

import (
	"net/http"
)

func errorPage404(w http.ResponseWriter, params map[string]any) {
	w.WriteHeader(404)
	_ = templates.ExecuteTemplate(w, "404", params)
}