Skip to content

Commit 4d597a3

Browse files
committed
add Pirmet's lubebar6
1 parent 8d44d6b commit 4d597a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmd/xsfi/main.go

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ func newServerHandler() http.Handler {
5959
return nil
6060
}))
6161

62+
routes.HandleFunc("/a0/lubebar6/{serialNo}", httputils.WrapWithErrorHandling(func(w http.ResponseWriter, r *http.Request) error {
63+
// not used yet.
64+
// serialNo := r.PathValue("serialNo")
65+
http.Redirect(w, r, "https://www.asiakastieto.fi/yritykset/fi/pirkanmaan-metallitekniikka-oy/25144545/yleiskuva", http.StatusFound)
66+
return nil
67+
}))
68+
6269
routes.Handle("/", http.FileServer(http.FS(staticFilesXSfi)))
6370

6471
return routes

0 commit comments

Comments
 (0)