채팅은 Socket.io
를 이용합니다.
소켓을 통해 채팅을 개발했으며 기본적인 채팅기능과 함께 한끼해요
업체에서 요청한 사항을 덧붙입니다.
연결과 동시에 로그인을 하고 싶을땐 query
에 Token
을 넣어주시면 됩니다.
REST API와 달리 Bearer가 필요 없습니다.
🌞 Morning 196 commits ███░░░░░░░░░░░░░░░░░░ 14.3% | |
🌆 Daytime 443 commits ██████▊░░░░░░░░░░░░░░ 32.4% | |
🌃 Evening 285 commits ████▍░░░░░░░░░░░░░░░░ 20.8% | |
🌙 Night 443 commits ██████▊░░░░░░░░░░░░░░ 32.4% |
name: Continuous deploy | |
on: | |
push: | |
branches: [master] | |
jobs: | |
serverless-deploy: | |
runs-on: ubuntu-latest |
export const getPagesSitemap = async (DOMAIN, date) => { | |
return `<url> | |
<loc>https://example.com/</loc> | |
<lastmod>2020-06-10T14:56:34.719Z</lastmod> | |
</url>`; | |
}; | |
export const getPostsSitemap = async (DOMAIN, date) => { | |
const url = 'https://api.alpox.kr/posts'; | |
const { status, data } = await onRequestGet({ url }); |
import Head from 'next/head'; | |
import { defaultHelmet } from 'config'; | |
export default function Helmet({ helmet = defaultHelmet }) { | |
const { | |
title = helmet.title || defaultHelmet.title, | |
description = helmet.description || defaultHelmet.description, | |
image = helmet.image || defaultHelmet.image, | |
keywords = helmet.keywords || defaultHelmet.keywords, | |
url = helmet.url || defaultHelmet.url, |