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 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 ? ( - + 관리하기 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} } 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' > = ({ 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 } 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