diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 049a462..64b2703 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,9 @@
-
+
-
-
-
-
+
@@ -72,7 +69,8 @@
-
+
+
true
diff --git a/pkg/server/startup.go b/pkg/server/startup.go
index 8ac111f..c3f004b 100644
--- a/pkg/server/startup.go
+++ b/pkg/server/startup.go
@@ -54,7 +54,7 @@ func NewServer() {
api := A.Group("/api").Name("API")
{
- api.Get("/attachments/i/:id", getAttachmentMeta)
+ api.Get("/attachments/:id/meta", getAttachmentMeta)
api.Get("/attachments/:id", openAttachment)
api.Post("/attachments", authMiddleware, createAttachment)
api.Delete("/attachments/:id", authMiddleware, deleteAttachment)