七牛上传成功了,但是网站查看不了,原谅小白

谢谢大神 @
还有个问题,网站管理员账号怎么设置啊?也没找到 @alsotang
在 config.js 里面有一个叫做 admins 的字段。改一下就好了
@XGHeaven 那不要密码吗?
不需要的。因为已经在服务器端写死了
NetLogoclub [email protected]于2016年4月24日周日 18:04写道:
@XGHeaven https://github.com/XGHeaven 那不要密码吗?
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/cnodejs/nodeclub/issues/835#issuecomment-213925062
那怎么管理呢?
还有图片不显示你知道怎么解决吗?七牛存储空间是有图片了,但是网站里不显示 @XGHeaven
很平时一样,只不过会多出来加精,置顶等操作方式
NetLogoclub [email protected]于2016年4月24日周日 19:03写道:
还有图片不显示你知道怎么解决吗?七牛存储空间是有图片了,但是网站里不显示 @XGHeaven https://github.com/XGHeaven
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/cnodejs/nodeclub/issues/835#issuecomment-213936191
@NetLogoclub 你七牛里是不是设置了防盗图过滤域名了?
没有,刚刚看了一下
@XGHeaven 我用config.js 中写的admins 注册了一个账号,没发现有加精和置顶的功能啊?还有图片不显示你知道怎么解决吗?谢谢!
加精和置顶是有的。你仔细找找。 图片的问题,你看看生成的URL和你七牛上面的是否正确?
七牛上是有url,网页源码看看没找到,只有个alt
那在提交图片之前,图片是有的对么?也就是在图片上传之后,在输入框有正确的图片markdown输入格式对么?
NetLogoclub [email protected]于2016年4月25日周一 下午6:21写道:
七牛上是有url,网页源码看看没找到,只有个alt
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/cnodejs/nodeclub/issues/835#issuecomment-214250531
上传之前是这样的格式,我觉得应该是对的
。。。好吧,你有没有看 config.js 他 origin 的格式??他要求是 http://domain.com 而不是 domain.com, 你去改一下试试
NetLogoclub [email protected]于2016年4月25日周一 下午9:21写道:
[image: git] https://cloud.githubusercontent.com/assets/18526620/14785100/91fc3046-0b2b-11e6-9621-5df1d43892fb.png 上传之前是这样的格式,我觉得应该是对的
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/cnodejs/nodeclub/issues/835#issuecomment-214321326
哇,大神,膜拜膜拜,64个谢谢!我没注意到要http://,基础太差
恩,那就可以 close 了
NetLogoclub [email protected]于2016年4月25日周一 下午9:52写道:
哇,大神,膜拜膜拜,64个谢谢!我没注意到要http://,基础太差
— You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/cnodejs/nodeclub/issues/835#issuecomment-214337586
我能贪心的说一下,没找到管理员权限吗?我配置了个用户名,然后填写那个用户名去注册,就能成为管理员吗?那要是别人恰好用了这个用户名,那不是管理员权限就给他注册走了?我的也没有加精和置顶功能,又要麻烦大神您了!
是的。所以肯定要在注册完成之后,将用户设置为管理员。你配置文件是什么样子的?