From 7b668f17f54b2d3a40cfb2c1b92d13f2abce93f5 Mon Sep 17 00:00:00 2001 From: boojack Date: Sat, 21 May 2022 12:33:18 +0800 Subject: [PATCH] chore: rename repo --- README.md | 14 +++++++------- server/server.go | 2 +- web/src/components/AboutSiteDialog.tsx | 2 +- web/vite.config.ts | 2 -- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 198ca754..e04afa0b 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,17 @@

An open source, self-hosted knowledge base that works with a SQLite db file.

- GitHub stars + GitHub stars Docker pull - Go report + Go report

Live Demo • - Discussions + Discussions

-![demo](https://raw.githubusercontent.com/justmemos/memos/main/resources/demo.png) +![demo](https://raw.githubusercontent.com/usememos/memos/main/resources/demo.png) ## 🎯 Intentions @@ -45,7 +45,7 @@ Memos is built with a curated tech stack. It is optimized for developer experien ### Tech Stack -tech stack +tech stack ### Prerequisites @@ -58,7 +58,7 @@ Memos is built with a curated tech stack. It is optimized for developer experien 1. pull source code ```bash - git clone https://github.com/justmemos/memos + git clone https://github.com/usememos/memos ``` 2. start backend using air(with live reload) @@ -77,7 +77,7 @@ Memos should now be running at [http://localhost:3000](http://localhost:3000) an ## 🌟 Star history -[![Star History Chart](https://api.star-history.com/svg?repos=justmemos/memos&type=Date)](https://star-history.com/#justmemos/memos&Date) +[![Star History Chart](https://api.star-history.com/svg?repos=usememos/memos&type=Date)](https://star-history.com/#usememos/memos&Date) --- diff --git a/server/server.go b/server/server.go index 2ecab4e2..81357d04 100644 --- a/server/server.go +++ b/server/server.go @@ -45,7 +45,7 @@ func NewServer(profile *common.Profile) *Server { })) // In dev mode, set the const secret key to make login session persistence. - secret := []byte("justmemos") + secret := []byte("usememos") if profile.Mode == "prod" { secret = securecookie.GenerateRandomKey(16) } diff --git a/web/src/components/AboutSiteDialog.tsx b/web/src/components/AboutSiteDialog.tsx index 934349df..79caff95 100644 --- a/web/src/components/AboutSiteDialog.tsx +++ b/web/src/components/AboutSiteDialog.tsx @@ -42,7 +42,7 @@ const AboutSiteDialog: React.FC = ({ destroy }: Props) => {


- 🏗 Source code, and built by Steven 🐯. + 🏗 Source code, and built by Steven 🐯.

diff --git a/web/vite.config.ts b/web/vite.config.ts index c46bf54c..314b4280 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -9,12 +9,10 @@ export default defineConfig({ proxy: { "/api": { target: "http://localhost:8080/", - // target: "https://memos.justsven.top/", changeOrigin: true, }, "/h/": { target: "http://localhost:8080/", - // target: "https://memos.justsven.top/", changeOrigin: true, }, },