nodeclub icon indicating copy to clipboard operation
nodeclub copied to clipboard

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

Open NetLogoclub opened this issue 10 years ago • 32 comments

1 2 3

NetLogoclub avatar Apr 24 '16 03:04 NetLogoclub

谢谢大神 @

NetLogoclub avatar Apr 24 '16 03:04 NetLogoclub

还有个问题,网站管理员账号怎么设置啊?也没找到 @alsotang

NetLogoclub avatar Apr 24 '16 06:04 NetLogoclub

在 config.js 里面有一个叫做 admins 的字段。改一下就好了

XGHeaven avatar Apr 24 '16 07:04 XGHeaven

@XGHeaven 那不要密码吗?

NetLogoclub avatar Apr 24 '16 10:04 NetLogoclub

不需要的。因为已经在服务器端写死了

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 avatar Apr 24 '16 10:04 XGHeaven

那怎么管理呢?

NetLogoclub avatar Apr 24 '16 10:04 NetLogoclub

还有图片不显示你知道怎么解决吗?七牛存储空间是有图片了,但是网站里不显示 @XGHeaven

NetLogoclub avatar Apr 24 '16 11:04 NetLogoclub

很平时一样,只不过会多出来加精,置顶等操作方式

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

XGHeaven avatar Apr 25 '16 02:04 XGHeaven

@NetLogoclub 你七牛里是不是设置了防盗图过滤域名了?

atjiu avatar Apr 25 '16 05:04 atjiu

没有,刚刚看了一下

NetLogoclub avatar Apr 25 '16 05:04 NetLogoclub

@XGHeaven 我用config.js 中写的admins 注册了一个账号,没发现有加精和置顶的功能啊?还有图片不显示你知道怎么解决吗?谢谢!

NetLogoclub avatar Apr 25 '16 09:04 NetLogoclub

加精和置顶是有的。你仔细找找。 图片的问题,你看看生成的URL和你七牛上面的是否正确?

XGHeaven avatar Apr 25 '16 09:04 XGHeaven

七牛上是有url,网页源码看看没找到,只有个alt

NetLogoclub avatar Apr 25 '16 10:04 NetLogoclub

那在提交图片之前,图片是有的对么?也就是在图片上传之后,在输入框有正确的图片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

XGHeaven avatar Apr 25 '16 13:04 XGHeaven

git 上传之前是这样的格式,我觉得应该是对的

NetLogoclub avatar Apr 25 '16 13:04 NetLogoclub

。。。好吧,你有没有看 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

XGHeaven avatar Apr 25 '16 13:04 XGHeaven

哇,大神,膜拜膜拜,64个谢谢!我没注意到要http://,基础太差

NetLogoclub avatar Apr 25 '16 13:04 NetLogoclub

恩,那就可以 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

XGHeaven avatar Apr 25 '16 13:04 XGHeaven

我能贪心的说一下,没找到管理员权限吗?我配置了个用户名,然后填写那个用户名去注册,就能成为管理员吗?那要是别人恰好用了这个用户名,那不是管理员权限就给他注册走了?我的也没有加精和置顶功能,又要麻烦大神您了!

NetLogoclub avatar Apr 25 '16 14:04 NetLogoclub

是的。所以肯定要在注册完成之后,将用户设置为管理员。你配置文件是什么样子的?

XGHeaven avatar Apr 25 '16 18:04 XGHeaven