Skip to content

Commit

Permalink
docs: koa-ssr 示例的注释错别字 (#5093)
Browse files Browse the repository at this point in the history
* Update app.js

* Update app.js
  • Loading branch information
dohooo committed Jul 24, 2020
1 parent eaa93a0 commit b954eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ssr-koa/src/app.js
Expand Up @@ -4,7 +4,7 @@ import { setCookie, getCookie } from './utils/cookie';
/**
* 在运行时扩展语言plugin,语言顺序,cookie > 浏览器默认语言 > 默认语言
* 切换语言时会同时设置localStorage 和cookie,key保持一致。
* 封装好了cookie方法,同时试用与服务端和客户端,客户端取cookie的方法
* 封装好了cookie方法,同时适用于服务端和客户端,客户端取cookie的方法
* 见serverHelper.js,只是将koa的方法进行扩展,koa试用请自行学习
* 客户端获取cookie的方法见utils/cookie
*
Expand Down

0 comments on commit b954eb6

Please sign in to comment.