mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 14:54:24 +01:00
13 lines
222 B
Go
13 lines
222 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
"net/http"
|
|
)
|
|
|
|
func renderEmbedjs(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Set("Content-Type", "application/javascript")
|
|
http.ServeFile(w, r, "templates/embed.js")
|
|
return
|
|
}
|