From 8133509aba5d6d158536d11cbffb245bcb37d964 Mon Sep 17 00:00:00 2001 From: guoershuo <9860332+guoershuo@user.noreply.gitee.com> Date: Wed, 7 Sep 2022 02:10:25 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/senior/faq.md.=20API=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=9C=B0=E5=9D=80=E4=BB=A5=E6=AD=A3=E7=A1=AE=E9=85=8D?= =?UTF-8?q?=E7=BD=AE->API=E8=AF=B7=E6=B1=82=E5=9C=B0=E5=9D=80=E5=B7=B2?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: guoershuo <9860332+guoershuo@user.noreply.gitee.com> --- docs/senior/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/senior/faq.md b/docs/senior/faq.md index ba866e6..15b26b9 100644 --- a/docs/senior/faq.md +++ b/docs/senior/faq.md @@ -90,7 +90,7 @@ RewriteRule (.*)$ /index\.php\?s=$1 [I] ## 三、请求跨域错误 #### 您在[开发环境](https://wonderful-code.gitee.io/guide/other/developerMustSee.html#%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83)下 1. 开发环境下,请使用`localhost:1818`访问站点,`server`端已经放行该域名,请勿使用`IP`访问。 -2. 无需修改`web/.env.development`文件,API请求地址以正确配置(除非你明白你在做什么)。 +2. 无需修改`web/.env.development`文件,API请求地址已正确配置(除非你明白你在做什么)。 #### 您在[生产环境](https://wonderful-code.gitee.io/guide/other/developerMustSee.html#%E7%BA%BF%E4%B8%8A%E7%8E%AF%E5%A2%83)下 - `web`与`server`在同一站点,不存在此问题,除非您已经独立部署`web`端,那么请在`config/buildadmin.php`文件中配置允许跨域的域名。 \ No newline at end of file -- Gitee