summaryrefslogtreecommitdiffstats
path: root/api/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'api/handlers')
-rw-r--r--api/handlers/html.go6
-rw-r--r--api/handlers/record.go4
2 files changed, 5 insertions, 5 deletions
diff --git a/api/handlers/html.go b/api/handlers/html.go
index 1ea166f..88407bf 100644
--- a/api/handlers/html.go
+++ b/api/handlers/html.go
@@ -3,8 +3,8 @@ package handlers
import (
"net/http"
- "git.leonardobishop.net/history/pkg/entries"
- "git.leonardobishop.net/history/pkg/html"
+ "git.leonardobishop.net/stash/pkg/entries"
+ "git.leonardobishop.net/stash/pkg/html"
)
const style = `<style>
@@ -70,7 +70,7 @@ func GetEntriesHtml(entriesService entries.Service, htmlService html.Service) ht
html = `<!DOCTYPE html>
<html>
<head>
-<title>History</title>
+<title>stash</title>
` + style + `
</head>
<body>` + html + `</body>
diff --git a/api/handlers/record.go b/api/handlers/record.go
index 0f98f11..cccce6b 100644
--- a/api/handlers/record.go
+++ b/api/handlers/record.go
@@ -4,8 +4,8 @@ import (
"crypto/subtle"
"net/http"
- "git.leonardobishop.net/history/api/dto"
- "git.leonardobishop.net/history/pkg/entries"
+ "git.leonardobishop.net/stash/api/dto"
+ "git.leonardobishop.net/stash/pkg/entries"
)
func RecordEntry(service entries.Service, token string) http.HandlerFunc {