From b0e873d30f6f19539db9007ad9aff557d43c9ab0 Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sat, 29 May 2021 02:12:38 +0900 Subject: [PATCH 1/6] fix: invalid url --- components/BotCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/BotCard.tsx b/components/BotCard.tsx index e370c46..4e0e95b 100644 --- a/components/BotCard.tsx +++ b/components/BotCard.tsx @@ -84,7 +84,7 @@ const BotCard: React.FC = ({ manage = false, bot }) => { {manage ? ( - + 관리하기 From 745c1926f6d26b283ed8a94611ee2f1d15de8715 Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sat, 29 May 2021 02:12:55 +0900 Subject: [PATCH 2/6] chore: prevent css purge --- components/Form/TextArea.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Form/TextArea.tsx b/components/Form/TextArea.tsx index a650ca2..e7c456c 100644 --- a/components/Form/TextArea.tsx +++ b/components/Form/TextArea.tsx @@ -48,7 +48,7 @@ const TextArea: React.FC = ({ name, placeholder, theme='auto', ma
setEmojiPickerHidden(false)} onKeyPress={() => setEmojiPickerHidden(false)} role='button' tabIndex={0} />
{ - max && + max && {max-value.length} } From 40273c58ff8f271a80d5cfa459d804f47cdd420b Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sat, 29 May 2021 02:22:38 +0900 Subject: [PATCH 3/6] feat: handling query string alias --- pages/search.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/search.tsx b/pages/search.tsx index bdedede..5a767bc 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -39,6 +39,7 @@ const Search:NextPage = ({ data, query }) => { } export const getServerSideProps = async(ctx: Context) => { + if(ctx.query.query && !ctx.query.q) ctx.query.q = ctx.query.query if(!ctx.query?.q) { ctx.res.statusCode = 301 ctx.res.setHeader('Location', '/') @@ -69,7 +70,8 @@ interface Context extends NextPageContext { } interface URLQuery extends ParsedUrlQuery { - q: string + q?: string + query?: string page?: string } From 349f9f05fe40fa11019167085fc682e1bc67b193 Mon Sep 17 00:00:00 2001 From: wonderlandpark Date: Sat, 29 May 2021 02:24:41 +0900 Subject: [PATCH 4/6] feat: input type search --- components/Search.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Search.tsx b/components/Search.tsx index 159c034..f1d6f95 100644 --- a/components/Search.tsx +++ b/components/Search.tsx @@ -81,6 +81,7 @@ const Search: React.FC = () => { className='relative z-10 flex mt-5 w-full text-black dark:text-gray-100 dark:bg-very-black bg-white rounded-lg' > Date: Sat, 29 May 2021 02:26:01 +0900 Subject: [PATCH 5/6] chore(robots.txt): allow root --- public/robots.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/robots.txt b/public/robots.txt index 4f9540b..14267e9 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1 +1,2 @@ -User-agent: * \ No newline at end of file +User-agent: * +Allow: / \ No newline at end of file From 1bf7c7b21ae410decddfe9a10ef3b242459615ae Mon Sep 17 00:00:00 2001 From: Junseo Park Date: Sat, 29 May 2021 02:26:51 +0900 Subject: [PATCH 6/6] Update SECURITY.md --- SECURITY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SECURITY.md b/SECURITY.md index fbe4860..e86632c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Korean -[버그 바운티 프로그램](https://beta.koreanbots.dev/security) +[버그 바운티 프로그램](https://koreanbots.dev/security) ## English