Skip to content
This repository has been archived by the owner on Jul 18, 2019. It is now read-only.

Commit

Permalink
docs: 更新 PUBLIC_PATH 说明
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed May 7, 2019
1 parent b29d847 commit 403eb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ mounted() {

| 环境变量名 | 说明 | 是否必须 | 默认值 | 示例 |
| ----------- | ------------------------------------------------------------ | ----------------------- | ------------------------- | ----------- |
| PUBLIC_PATH | 对应webpack的publicPath,用于指定静态文件访问路径,一定要/结尾 || | http://cdn.deepexi.com/ |
| PUBLIC_PATH | 对应webpack的publicPath,用于指定静态文件访问路径 || | http://cdn.deepexi.com |
| API_SERVER | axios的baseURL,可不传。不传时,使用相对路径发送请求 || | https://www.easy-mock.com |
| NO_LOGIN | 是否登陆拦截,传1则不会有登录拦截 || | 1 |
| COOKIE_PATH | 用于设置cookie的path,如果多个项目需要共享cookie,则应该保证项目在共同的目录下,且设置COOKIE_PATH为它们的共同目录地址 || / | /xpaas |
Expand Down

0 comments on commit 403eb45

Please sign in to comment.