mirror of
https://github.com/jakejarvis/npqueue.git
synced 2025-04-26 08:05:21 -04:00
no need for dns prefetch for heroku domain
This commit is contained in:
parent
ad5d6aee2d
commit
8e1c7619de
2
main.go
2
main.go
@ -168,7 +168,7 @@ func main() {
|
||||
addr := ":" + os.Getenv("PORT")
|
||||
|
||||
http.HandleFunc("/api/list", List)
|
||||
http.Handle("/", http.FileServer(http.Dir("./static")))
|
||||
http.Handle("/", http.FileServer(http.Dir("./public")))
|
||||
|
||||
log.Printf("Listening on %s...\n", addr)
|
||||
if err := http.ListenAndServe(addr, nil); err != nil {
|
||||
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@ -4,7 +4,6 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>NoPixel GTA5 RP Online Players</title>
|
||||
<link rel="dns-prefetch" href="https://hidden-depths-42970.herokuapp.com">
|
||||
<link rel="icon" href="favicon.ico">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
Loading…
x
Reference in New Issue
Block a user