DormyMo / SpiderKeeper

admin ui for scrapy/open source scrapinghub
http://sk.7mdm.com:5000/
2.74k stars 507 forks source link

spiderkeeper 设置不了cookie #106

Open zlcting opened 5 years ago

zlcting commented 5 years ago

from flask import session,make_response

@app.route("/test",methods = ["GET","POST"]) def test(): response=make_response() response.set_cookie('admin_permit','123123')
return "" spiderkeep新加了一个页面 想给当前的域名设置cookie 按照上面的代码写好后,cookie设置无效 请问这是怎么回事啊?