crawlab-team / crawlab

Distributed web crawler admin platform for spiders management regardless of languages and frameworks. 分布式爬虫管理平台,支持任何语言和框架
https://www.crawlab.cn
BSD 3-Clause "New" or "Revised" License
11.39k stars 1.8k forks source link

Error when logging, blocked by CORS policy #257

Closed leonlyu1996 closed 4 years ago

leonlyu1996 commented 5 years ago

已经将CRAWLAB_API_ADDRESS设置为宿主机ip,使用默认admin账号登录提示登录时出错,F12错误截图如下: image docker日志截图如下: image

tikazyq commented 5 years ago

根据日志来看,似乎没有到API这里来

wo10378931 commented 5 years ago

建议直接访问后端API地址,看看是否能正常访问。 如果出现:404 page not found 就是可以正常访问

tikazyq commented 4 years ago

现在是否还存在问题