mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
12 lines
235 B
Go
12 lines
235 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func renderEmbedjs(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Set("Content-Type", "application/javascript")
|
|
fileContent, _ := static.ReadFile("static/embed.js")
|
|
w.Write(fileContent)
|
|
}
|