summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/handlers/html.go6
-rw-r--r--api/handlers/record.go4
-rw-r--r--api/router.go10
3 files changed, 10 insertions, 10 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 {
diff --git a/api/router.go b/api/router.go
index c18fed8..076beec 100644
--- a/api/router.go
+++ b/api/router.go
@@ -3,11 +3,11 @@ package api
import (
"net/http"
- "git.leonardobishop.net/history/api/handlers"
- "git.leonardobishop.net/history/api/middleware"
- "git.leonardobishop.net/history/internal/config"
- "git.leonardobishop.net/history/pkg/entries"
- "git.leonardobishop.net/history/pkg/html"
+ "git.leonardobishop.net/stash/api/handlers"
+ "git.leonardobishop.net/stash/api/middleware"
+ "git.leonardobishop.net/stash/internal/config"
+ "git.leonardobishop.net/stash/pkg/entries"
+ "git.leonardobishop.net/stash/pkg/html"
)
type ApiServices struct {