瀏覽代碼

Updated Cert URL and added to Reserved words

Yoginth 7 年之前
父節點
當前提交
70ab323be5
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      cmd/web.go
  2. 1 1
      models/user.go

+ 1 - 1
cmd/web.go

@@ -309,7 +309,7 @@ func runWeb(c *cli.Context) error {
 	// ***** END: Pages *****
 
 	// ***** START: Misc *****
-	m.Get("/interns/certificate/:username", ignSignIn, user.InternCertificate)
+	m.Get("/certificate/:username", ignSignIn, user.InternCertificate)
 	// ***** END: Misc *****
 
 	// ***** START: Embed *****

文件差異過大導致無法顯示
+ 1 - 1
models/user.go