输入token后不能使用
Closed this issue · 2 comments
imjiaoyuan commented
报错信息为:
{ "status": 500, "error": "Cannot read
properties of undefined (reading
'get')" }
roimdev commented
是否有在pages的环境变量中配置token属性。
roimdev commented
默认的key为PICX_AUTH_TOKEN,也可以在functions/rest/routes/index.ts中修改自定key。