add:1 Failed to load resource: the server responded with a status of 405 ()
时间: 2023-09-26 08:11:59 浏览: 125
add1 Failed to load resource: the server responded with a status of 405 ()是指在添加资源时,服务器返回了405错误状态。根据引用,这个错误状态可能是因为请求的实体太大导致的。而根据引用的解决方案,可以尝试修改配置文件中的assetsPublicPath为"./"来解决这个问题。另外,根据引用的解决方案,还可以在配置文件中增加client_max_body_size的配置项并设置合适的大小。这样可以增加Nginx服务器对文件上传的限制大小,有助于解决该问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【异常】Failed to load resource: the server responded with a status of 413 (Request Entity Too Large...](https://blog.csdn.net/wstever/article/details/128870742)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [vue打包npm run build时候界面报错的解决](https://download.csdn.net/download/weixin_38626943/13128820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文