Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Jul 24, 2024
1 parent c5900b3 commit b3b4aa9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 58 deletions.
1 change: 0 additions & 1 deletion server/router/api/v1/acl_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ var authenticationAllowlistMethods = map[string]bool{
"/memos.api.v1.MemoService/GetMemoByUid": true,
"/memos.api.v1.MemoService/ListMemos": true,
"/memos.api.v1.MemoService/ListMemoTags": true,
"/memos.api.v1.MemoService/SearchMemos": true,
"/memos.api.v1.MarkdownService/GetLinkMetadata": true,
"/memos.api.v1.ResourceService/GetResourceBinary": true,
"/memos.api.v1.ResourceService/GetResourceByUid": true,
Expand Down
44 changes: 0 additions & 44 deletions web/src/components/ExploreSidebar/UsersSection.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions web/src/pages/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ const UserProfile = () => {
(user ? (
<>
<div className="my-4 w-full flex justify-end items-center gap-2">
<a className="" href={`/u/${encodeURIComponent(user?.username)}/rss.xml`} target="_blank" rel="noopener noreferrer">
<Button color="neutral" variant="outlined" endDecorator={<Icon.Rss className="w-4 h-auto opacity-60" />}>
RSS
</Button>
</a>
<Button
color="neutral"
variant="outlined"
Expand Down
8 changes: 0 additions & 8 deletions web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ export default defineConfig({
target: devProxyServer,
xfwd: true,
},
"^/u/.+/rss.xml": {
target: devProxyServer,
xfwd: true,
},
"^/explore/rss.xml": {
target: devProxyServer,
xfwd: true,
},
},
},
resolve: {
Expand Down

0 comments on commit b3b4aa9

Please sign in to comment.